tbrehm
2012-06-05 ba611213fb54fa748ed1f97cc400c762bbe438ac
Fixed: FS#2227 - Erro /etc/suphp.conf Opensuse File or Link not found /srv/www/cgi-bin/php5
1 files modified
4 ■■■■ changed files
install/dist/lib/opensuse.lib.php 4 ●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php
@@ -542,6 +542,10 @@
        replaceLine('/etc/suphp.conf','umask=0077','umask=0022',0);
        //}
        
        if(!file_exists('/srv/www/cgi-bin/php5') && file_exists('/srv/www/cgi-bin/php')) {
            symlink('/srv/www/cgi-bin/php','/srv/www/cgi-bin/php5');
        }
        // Sites enabled and available dirs
        exec('mkdir -p '.$conf['apache']['vhost_conf_enabled_dir']);
        exec('mkdir -p '.$conf['apache']['vhost_conf_dir']);