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 { |