/[smeserver]/rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11666-error_reporting.patch
ViewVC logotype

Annotation of /rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11666-error_reporting.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Sep 24 12:58:18 2021 UTC (3 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-45_el7_sme, smeserver-php-3_0_0-48_el7_sme, smeserver-php-3_0_0-40_el7_sme, smeserver-php-3_0_0-43_el7_sme, smeserver-php-3_0_0-46_el7_sme, smeserver-php-3_0_0-41_el7_sme, smeserver-php-3_0_0-44_el7_sme, smeserver-php-3_0_0-47_el7_sme, smeserver-php-3_0_0-42_el7_sme, HEAD
Fix error reporting comment

1 jcrisp 1.1 diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays
2     --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-09-24 14:25:02.133968014 +0200
3     +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-09-24 14:25:54.829841357 +0200
4     @@ -52,7 +52,7 @@
5     $file_upload = ($file_upload =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
6     $allow_url_fopen = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
7     $display_errors = ($display_errors =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
8     - $error_reporting = ($error_reporting eq 'E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT') ? '#default error_reporting' : "php_value[error_reporting] = $error_reporting";
9     + $error_reporting = ($error_reporting eq 'E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT') ? '; default error_reporting' : "php_value[error_reporting] = $error_reporting";
10    
11     $OUT .= " php_admin_flag allow_url_fopen $allow_url_fopen\n";
12     $OUT .= " php_admin_value memory_limit $memoryLimit\n";
13     diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php-fpm.d/ibays.conf/10Ibays smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php-fpm.d/ibays.conf/10Ibays
14     --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php-fpm.d/ibays.conf/10Ibays 2021-09-24 14:25:02.135968048 +0200
15     +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php-fpm.d/ibays.conf/10Ibays 2021-09-24 14:27:16.777198910 +0200
16     @@ -35,7 +35,7 @@
17     $allow_url_fopen = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
18     $disabled_functions = join(', ', split /[,;:]/, $disabled_functions);
19     $display_errors = ($display_errors =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
20     - $error_reporting = ($error_reporting eq 'E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT') ? '#default error_reporting' : "php_value[error_reporting] = $error_reporting";
21     + $error_reporting = ($error_reporting eq 'E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT') ? '; default error_reporting' : "php_value[error_reporting] = $error_reporting";
22     $open_basedir = join(':', split(/[,;:]/, $open_basedir . $autoprepath));
23    
24     $OUT .=<<"_EOF" if ($version eq $PHP_VERSION);

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