Skip to content

Commit 445dffa

Browse files
author
Yasuo Ohgaki
committed
Improve php.ini-* documentation
1 parent b9e3f73 commit 445dffa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

php.ini-development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ session.gc_maxlifetime = 1440
14741474
; collection through a shell script, cron entry, or some other method.
14751475
; For example, the following script would is the equivalent of
14761476
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1477-
; find /path/to/sessions -cmin +24 | xargs rm
1477+
; find /path/to/sessions -cmin +24 -type f | xargs rm
14781478

14791479
; PHP 4.2 and less have an undocumented feature/bug that allows you to
14801480
; to initialize a session variable in the global scope.

php.ini-production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ session.gc_maxlifetime = 1440
14741474
; collection through a shell script, cron entry, or some other method.
14751475
; For example, the following script would is the equivalent of
14761476
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1477-
; find /path/to/sessions -cmin +24 | xargs rm
1477+
; find /path/to/sessions -cmin +24 -type f | xargs rm
14781478

14791479
; PHP 4.2 and less have an undocumented feature/bug that allows you to
14801480
; to initialize a session variable in the global scope.

0 commit comments

Comments
 (0)