/[smecontribs]/rpms/smeserver-php-scl/contribs9/smeserver-php-scl-0.4.bz10355.php7lib.patch
ViewVC logotype

Diff of /rpms/smeserver-php-scl/contribs9/smeserver-php-scl-0.4.bz10355.php7lib.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Tue Jun 27 03:56:14 2017 UTC Revision 1.2 by unnilennium, Tue Jun 27 04:02:05 2017 UTC
# Line 8  diff -Nur smeserver-php-scl-0.4.old/root Line 8  diff -Nur smeserver-php-scl-0.4.old/root
8  -    elsif (-r "/usr/lib64/httpd/modules/libphp70-php7.so" && (($php70{PhpModule} || '') eq 'enabled')) {  -    elsif (-r "/usr/lib64/httpd/modules/libphp70-php7.so" && (($php70{PhpModule} || '') eq 'enabled')) {
9  -        $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";  -        $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
10  +    elsif (-r "/usr/lib64/httpd/modules/libphp70.so" && (($php70{PhpModule} || '') eq 'enabled')) {  +    elsif (-r "/usr/lib64/httpd/modules/libphp70.so" && (($php70{PhpModule} || '') eq 'enabled')) {
11  +        $OUT .= "LoadModule php5_module modules/libphp70.so\n";  +        $OUT .= "LoadModule php7_module modules/libphp70.so\n";
12       }       }
13  -    elsif (-r "/usr/lib64/httpd/modules/libphp71-php7.so" && (($php71{PhpModule} || '') eq 'enabled')) {  -    elsif (-r "/usr/lib64/httpd/modules/libphp71-php7.so" && (($php71{PhpModule} || '') eq 'enabled')) {
14  -        $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";  -        $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
15  +    elsif (-r "/usr/lib64/httpd/modules/libphp71.so" && (($php71{PhpModule} || '') eq 'enabled')) {  +    elsif (-r "/usr/lib64/httpd/modules/libphp71.so" && (($php71{PhpModule} || '') eq 'enabled')) {
16  +        $OUT .= "LoadModule php5_module modules/libphp71.so\n";  +        $OUT .= "LoadModule php7_module modules/libphp71.so\n";
17       }       }
18    
19       else {       else {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed