Skip to content

Commit de99fd7

Browse files
author
Yasuo Ohgaki
committed
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Remove obsolete description
2 parents fed80ee + 4dee63c commit de99fd7

File tree

2 files changed

+0
-70
lines changed

2 files changed

+0
-70
lines changed

php.ini-development

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,6 @@
138138
; Development Value: "GP"
139139
; Production Value: "GP"
140140

141-
; session.bug_compat_42
142-
; Default Value: On
143-
; Development Value: On
144-
; Production Value: Off
145-
146-
; session.bug_compat_warn
147-
; Default Value: On
148-
; Development Value: On
149-
; Production Value: Off
150-
151141
; session.gc_divisor
152142
; Default Value: 100
153143
; Development Value: 1000
@@ -1488,31 +1478,6 @@ session.gc_maxlifetime = 1440
14881478
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
14891479
; find /path/to/sessions -cmin +24 -type f | xargs rm
14901480

1491-
; PHP 4.2 and less have an undocumented feature/bug that allows you to
1492-
; to initialize a session variable in the global scope.
1493-
; PHP 4.3 and later will warn you, if this feature is used.
1494-
; You can disable the feature and the warning separately. At this time,
1495-
; the warning is only displayed, if bug_compat_42 is enabled. This feature
1496-
; introduces some serious security problems if not handled correctly. It's
1497-
; recommended that you do not use this feature on production servers. But you
1498-
; should enable this on development servers and enable the warning as well. If you
1499-
; do not enable the feature on development servers, you won't be warned when it's
1500-
; used and debugging errors caused by this can be difficult to track down.
1501-
; Default Value: On
1502-
; Development Value: On
1503-
; Production Value: Off
1504-
; http://php.net/session.bug-compat-42
1505-
session.bug_compat_42 = On
1506-
1507-
; This setting controls whether or not you are warned by PHP when initializing a
1508-
; session value into the global space. session.bug_compat_42 must be enabled before
1509-
; these warnings can be issued by PHP. See the directive above for more information.
1510-
; Default Value: On
1511-
; Development Value: On
1512-
; Production Value: Off
1513-
; http://php.net/session.bug-compat-warn
1514-
session.bug_compat_warn = On
1515-
15161481
; Check HTTP Referer to invalidate externally stored URLs containing ids.
15171482
; HTTP_REFERER has to contain this substring for the session to be
15181483
; considered as valid.

php.ini-production

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,6 @@
138138
; Development Value: "GP"
139139
; Production Value: "GP"
140140

141-
; session.bug_compat_42
142-
; Default Value: On
143-
; Development Value: On
144-
; Production Value: Off
145-
146-
; session.bug_compat_warn
147-
; Default Value: On
148-
; Development Value: On
149-
; Production Value: Off
150-
151141
; session.gc_divisor
152142
; Default Value: 100
153143
; Development Value: 1000
@@ -1488,31 +1478,6 @@ session.gc_maxlifetime = 1440
14881478
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
14891479
; find /path/to/sessions -cmin +24 -type f | xargs rm
14901480

1491-
; PHP 4.2 and less have an undocumented feature/bug that allows you to
1492-
; to initialize a session variable in the global scope.
1493-
; PHP 4.3 and later will warn you, if this feature is used.
1494-
; You can disable the feature and the warning separately. At this time,
1495-
; the warning is only displayed, if bug_compat_42 is enabled. This feature
1496-
; introduces some serious security problems if not handled correctly. It's
1497-
; recommended that you do not use this feature on production servers. But you
1498-
; should enable this on development servers and enable the warning as well. If you
1499-
; do not enable the feature on development servers, you won't be warned when it's
1500-
; used and debugging errors caused by this can be difficult to track down.
1501-
; Default Value: On
1502-
; Development Value: On
1503-
; Production Value: Off
1504-
; http://php.net/session.bug-compat-42
1505-
session.bug_compat_42 = Off
1506-
1507-
; This setting controls whether or not you are warned by PHP when initializing a
1508-
; session value into the global space. session.bug_compat_42 must be enabled before
1509-
; these warnings can be issued by PHP. See the directive above for more information.
1510-
; Default Value: On
1511-
; Development Value: On
1512-
; Production Value: Off
1513-
; http://php.net/session.bug-compat-warn
1514-
session.bug_compat_warn = Off
1515-
15161481
; Check HTTP Referer to invalidate externally stored URLs containing ids.
15171482
; HTTP_REFERER has to contain this substring for the session to be
15181483
; considered as valid.

0 commit comments

Comments
 (0)