Skip to content

Commit 44c74cb

Browse files
committed
Fixed suphp setting for OpenSuSE 11.3
1 parent 0d95996 commit 44c74cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/dist/lib/opensuse.lib.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,8 @@ public function configure_apache()
518518
exec('mkdir -p /var/log/ispconfig/httpd');
519519

520520
//if(is_file('/etc/suphp.conf')) {
521-
replaceLine('/etc/suphp.conf','php=php','x-httpd-suphp=php:/srv/www/cgi-bin/php5',0,0);
521+
replaceLine('/etc/suphp.conf','php=php','x-httpd-suphp="php:/srv/www/cgi-bin/php5"',0,0);
522+
replaceLine('/etc/suphp.conf','php="php','x-httpd-suphp="php:/srv/www/cgi-bin/php5"',0,0);
522523
replaceLine('/etc/suphp.conf','docroot=','docroot=/srv/www',0,0);
523524
replaceLine('/etc/suphp.conf','umask=0077','umask=0022',0);
524525
//}

0 commit comments

Comments
 (0)