diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 84ceea890bc1e2d4758ae76f0ee21d66666abb0e..a3eab1ba1389fdaecd6c66b82f210767994b2911 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -611,7 +611,7 @@ class installer_base { exec('mkdir -p /var/log/ispconfig/httpd'); if(is_file('/etc/suphp/suphp.conf')) { - replaceLine('/etc/suphp/suphp.conf','application/x-httpd-php=php:/usr/bin/php-cgi','x-httpd-suphp=php:/usr/bin/php-cgi',0); + replaceLine('/etc/suphp/suphp.conf','php=php:/usr/bin/php-cgi','x-httpd-suphp=php:/usr/bin/php-cgi',0); replaceLine('/etc/suphp/suphp.conf','docroot=','docroot=/var/clients',0); } diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index 4ba04e65032c4884d9888c869f6ecd27aa648921..36b63ef90b7ff10030fb8a2883e9fe5858b7a2bd 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -49,12 +49,12 @@ </tmpl_if> <tmpl_if name='php' op='==' value='suphp'> <Directory {tmpl_var name='web_document_root'}> - # suphp enabled - suPHP_Engine on - # suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'> - AddHandler x-httpd-suphp .php .php3 .php4 .php5 - suPHP_AddHandler x-httpd-suphp - </Directory> + # suphp enabled + suPHP_Engine on + # suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'> + AddHandler x-httpd-suphp .php .php3 .php4 .php5 + suPHP_AddHandler x-httpd-suphp + </Directory> </tmpl_if> <tmpl_if name='php' op='==' value='cgi'> # php as cgi enabled