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

Contents 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


Revision 1.2 - (show annotations) (download)
Tue Jun 27 04:02:05 2017 UTC (7 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-php-scl-0_4-21_el6_sme, smeserver-php-scl-0_4-25_el6_sme, smeserver-php-scl-0_4-14_el6_sme, smeserver-php-scl-0_4-24_el6_sme, smeserver-php-scl-0_4-22_el6_sme, smeserver-php-scl-0_4-17_el6_sme, smeserver-php-scl-0_4-20_el6_sme, smeserver-php-scl-0_4-23_el6_sme, smeserver-php-scl-0_4-19_el6_sme, smeserver-php-scl-0_4-15_el6_sme, smeserver-php-scl-0_4-16_el6_sme, HEAD
Changes since 1.1: +2 -2 lines
* Mon Jun 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-14.sme
- fix wrong path to 7.0 and 7.1 lib  [SME: 10355]

1 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP smeserver-php-scl-0.4/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP
2 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP 2017-06-26 23:52:18.374000000 -0400
3 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP 2017-06-26 23:53:41.766000000 -0400
4 @@ -15,11 +15,11 @@
5 elsif (-r "/usr/lib64/httpd/modules/libphp56-php5.so" && (($php56{PhpModule} || '') eq 'enabled')) {
6 $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
7 }
8 - elsif (-r "/usr/lib64/httpd/modules/libphp70-php7.so" && (($php70{PhpModule} || '') eq 'enabled')) {
9 - $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
10 + elsif (-r "/usr/lib64/httpd/modules/libphp70.so" && (($php70{PhpModule} || '') eq 'enabled')) {
11 + $OUT .= "LoadModule php7_module modules/libphp70.so\n";
12 }
13 - elsif (-r "/usr/lib64/httpd/modules/libphp71-php7.so" && (($php71{PhpModule} || '') eq 'enabled')) {
14 - $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
15 + elsif (-r "/usr/lib64/httpd/modules/libphp71.so" && (($php71{PhpModule} || '') eq 'enabled')) {
16 + $OUT .= "LoadModule php7_module modules/libphp71.so\n";
17 }
18
19 else {

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