After new creating new account, apache wont' restart

Gerard

New member
Joined
Jun 30, 2005
Messages
2
Location
The Netherlands
When I have created a new account on my server with DirectAdmin, Everything goes ok. But apache needs a reboot by DA of course for the Virtualhost.

When the reboot is done, Apache isn't running anymore. When I want to restart by ssh, I recieve the following Errormessage:


[root@napoleon root]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/gerard/httpd.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
[root@napoleon root]#

Can anybody help me?

I haven't found anything on the forum witch could help me, so I hope that you could help me. I've tried also to reinstall DirectAdmin, but that didn't help me.
 
Sounds like mod_php is not properly installed.

Try recompiling everything with customapache and then check the main httpd.conf file and make sure that mod_php is being loaded properly.
 
Back
Top