Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Alejandro Lengua on October 31, 2003, 11:32:09 PM
-
I was using Service Control to disable some services for improving performance.
I disabled PHP and MySQL. and now Apache (HTTP) and Server-Manager don't star... as I am having this error:
Starting httpd: Syntax error on line 1202 of /etc/httpd/conf/httpd.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
I
-
Why did you disable PHP? You apparently have something else that requires it (perhaps webmail), which is causing httpd to barf. RAM is cheap; upgrading that rather than disabling services is a better bet.
-
I am using that e-smith only as a Firewallw and PPT-VPN server...
so was trying to disable unused services that could produce vulnerabilities
in the future.
Finally I noticed that a contrib (SARG) was adding a couple of lines
in my httpd.conf. Those lines where calling PHP.. I removed those lines
and http restarted fine...