Virtual Hosted Sites Not Working (Vhosts_ispconfig.conf emtpy!)

Discussion in 'Installation/Configuration' started by spike, Aug 14, 2009.

  1. spike

    spike New Member


    I have exactly the same problem that can be seen here, 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,
  2. falko

    falko Super Moderator ISPConfig Developer

    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.

Share This Page