Error *asap*

ircman

Verified User
Joined
Feb 5, 2004
Messages
115
Location
The Hague, Netherlands
I just installed directadmin.
but when apache try's to start it crashes with the following error:

Feb 26 19:59:04 chameleon1 httpd: Syntax error on line 28 of /usr/local/directadmin/data/users/emmanuel/httpd.conf:

Feb 26 19:59:04 chameleon1 httpd: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration

What is this problem and how can i fix this.
This error orrcurd after fresh installing DA on a new machine.

Cedric
 
Hello,

It means that php did not compile/install correctly.

cd /usr/local/direcatadmin/customapache
./build clean
./build php

then:
service httpd restart
or
/usr/local/etc/rc.d/httpd restart

John
 
John,

If you remove the SSL errors on those FBSD boxes I also get that exact same error. I found that last night and rebuilt it all and seemed to clear it up.
 
Back
Top