[php] sync php.ini with upstream php.ini-production

Remi Collet remi at fedoraproject.org
Fri May 30 06:02:34 UTC 2014


commit 2ed3313e58e79a4ea8e5e41f8a53e476aa049999
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri May 30 08:02:27 2014 +0200

    sync php.ini with upstream php.ini-production

 php.ini  |   39 ++-------------------------------------
 php.spec |    1 +
 2 files changed, 3 insertions(+), 37 deletions(-)
---
diff --git a/php.ini b/php.ini
index c9ece6c..dece0ac 100644
--- a/php.ini
+++ b/php.ini
@@ -138,16 +138,6 @@
 ;   Development Value: "GP"
 ;   Production Value: "GP"
 
-; session.bug_compat_42
-;   Default Value: On
-;   Development Value: On
-;   Production Value: Off
-
-; session.bug_compat_warn
-;   Default Value: On
-;   Development Value: On
-;   Production Value: Off
-
 ; session.gc_divisor
 ;   Default Value: 100
 ;   Development Value: 1000
@@ -583,7 +573,7 @@ html_errors = On
 ; http://php.net/error-log
 ; Example:
 ;error_log = php_errors.log
-; Log errors to syslog (Event Log on NT, not valid in Windows 95).
+; Log errors to syslog (Event Log on Windows).
 ;error_log = syslog
 
 ;windows.show_crt_warning
@@ -974,7 +964,7 @@ mail.add_x_header = On
 ; The path to a log file that will log all mail() calls. Log entries include
 ; the full path of the script, line number, To address and headers.
 ;mail.log =
-; Log mail to syslog (Event Log on NT, not valid in Windows 95).
+; Log mail to syslog (Event Log on Windows).
 ;mail.log = syslog
 
 [SQL]
@@ -1442,31 +1432,6 @@ session.gc_maxlifetime = 1440
 ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
 ;          find /path/to/sessions -cmin +24 -type f | xargs rm
 
-; PHP 4.2 and less have an undocumented feature/bug that allows you to
-; to initialize a session variable in the global scope.
-; PHP 4.3 and later will warn you, if this feature is used.
-; You can disable the feature and the warning separately. At this time,
-; the warning is only displayed, if bug_compat_42 is enabled. This feature
-; introduces some serious security problems if not handled correctly. It's
-; recommended that you do not use this feature on production servers. But you
-; should enable this on development servers and enable the warning as well. If you
-; do not enable the feature on development servers, you won't be warned when it's
-; used and debugging errors caused by this can be difficult to track down.
-; Default Value: On
-; Development Value: On
-; Production Value: Off
-; http://php.net/session.bug-compat-42
-session.bug_compat_42 = Off
-
-; This setting controls whether or not you are warned by PHP when initializing a
-; session value into the global space. session.bug_compat_42 must be enabled before
-; these warnings can be issued by PHP. See the directive above for more information.
-; Default Value: On
-; Development Value: On
-; Production Value: Off
-; http://php.net/session.bug-compat-warn
-session.bug_compat_warn = Off
-
 ; Check HTTP Referer to invalidate externally stored URLs containing ids.
 ; HTTP_REFERER has to contain this substring for the session to be
 ; considered as valid.
diff --git a/php.spec b/php.spec
index 3529631..4dcfc3c 100644
--- a/php.spec
+++ b/php.spec
@@ -1553,6 +1553,7 @@ exit 0
 * Fri May 30 2014 Remi Collet <rcollet at redhat.com> 5.5.13-1
 - Update to 5.5.13
   http://www.php.net/releases/5_5_13.php
+- sync php.ini with upstream php.ini-production
 
 * Sat May  3 2014 Remi Collet <rcollet at redhat.com> 5.5.12-1
 - Update to 5.5.12


More information about the scm-commits mailing list