Invalid command 'php_admin_flag'

Discussion in 'Installation/Configuration' started by tom, May 14, 2006.

  1. tom

    tom Member

    sarge01:/etc/apache2/vhosts# /etc/init.d/apache2 start
    Starting web server: Apache2Syntax error on line 53 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
    Thats the line 53:
    php_admin_flag safe_mode On
    I'm using ISPC 2.2.2 on debian3.1
  2. tom

    tom Member

    I's ok now :)
  3. torusturtle

    torusturtle Member

    What did you change?
    I have the same error message.
  4. falko

    falko Super Moderator Howtoforge Staff

    Make sure mod_php is installed and included in your Apache configuration.
  5. webgitter

    webgitter New Member

    how to check

    i have the same issue.

    how can i check if mod_php is installed. where should the module should be included?

    i run a suse vserver.

  6. falko

    falko Super Moderator Howtoforge Staff

    The module must be included in your Apache configuration which should be in /etc/httpd/conf/httpd.conf or something similar.
    You can also run
    to check if PHP is installed.
  7. webgitter

    webgitter New Member

    thanks, i just solved the problem!

Share This Page