SUPHP - How write Vhost directive on ISPCONFIG

Discussion in 'Installation/Configuration' started by adrenalinic, May 12, 2007.

  1. adrenalinic

    adrenalinic Member

    Hello!

    I have setup suphp and Suhosin Patch 0.9.6.
    All works ok!

    But, for enable php5 on same website, i have manualy write the handler on ispconfig VHOST, but it rewrite it on new saving.

    I have tryed many solution to write in ispconfig apache field, but not works...

    suPHP_Engine on
    AddHandler x-httpd-php5 .php .php3 .php4 .php5
    suPHP_AddHandler x-httpd-php5

    How write in ISPCONFIG to use php5 and not default php4-cgi?

    Very thanks
     
  2. Hans

    Hans Moderator Moderator

    On an ISPConfig server with php4-cgi and suPHP, you still can use php5 as a module by adding these lines within ISPConfig in the Apache directives field fot that site:

    suPHP_Engine off
    RemoveHandler .php
    php_admin_flag engine on
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig has the apache directives fild for this! Just add the apache directives in this field in the website form of ISPConfig. Never edit the Vhost_ispconfig.conf file manually.
     

Share This Page