Starting httpd: httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf

If you can’t start directadmin on your Centos server:

Starting httpd: httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf

Fix:

cd /usr/local/directadmin/custombuild/
./build apache
./build mod_ruid2
./build php n
./build rewrite_confs

/etc/init.d/httpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *