Syntax error? Vhosts_ispconfig.conf

Discussion in 'Installation/Configuration' started by pne, Apr 15, 2007.

  1. pne

    pne New Member

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

    Same with php_admin_value and so :/ The webserver is down :(


    EDIT:

    It started when i added this to apache2.conf
    # Use for PHP 4.x:
    LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
    AddHandler php-script php

    But gave theese errors:
    * Starting web server (apache2)...
    [Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive


    :)
     
    Last edited: Apr 15, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    How was PHP configured before you edited this? Are you sure that the apache PHP module is loaded correctly?
     
  3. pne

    pne New Member

    I got no idea.. :/
    Atleast it works now .. sorta good, no errors yet
     

Share This Page