PDA

View Full Version : Virtual Hosted Sites Not Working (Vhosts_ispconfig.conf emtpy!)


spike
14th August 2009, 06:56
Hi,

I have exactly the same problem that can be seen here, http://how2forge.com/forums/showthread.php?t=2215 only I'm using Gentoo. I got a bit confused about what I need to do to fix this!

Once I noticed that the Vhosts_ispconfig.conf file was empty, I.....


# cp Vhosts_ispconfig.conf_14-08-09_03-44-13 Vhosts_ispconfig.conf
# httpd -t


...and I saw the following output:

Syntax error on line 56 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

This error relates to this line:

php_admin_flag safe_mode Off

Does anyone know what I need to do? How can I install mod_php4 on Gentoo?

Many thanks,
Spike

falko
15th August 2009, 13:50
It seems as if mod_php is not installed or not enabled. Unfortunately I'm no Gentoo expert, so I can't say how this can be achieved.