aharvey Mon, 18 Oct 2010 02:10:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304463
Log: Fix bug #53089 (php.ini should use portable example of find) by using POSIX compliant syntax in the suggested find command for cleaning up session files in the shipped php.ini files. Bug: http://bugs.php.net/53089 (Assigned) php.ini should use portable example of find Changed paths: U php/php-src/branches/PHP_5_3/php.ini-development U php/php-src/branches/PHP_5_3/php.ini-production U php/php-src/trunk/php.ini-development U php/php-src/trunk/php.ini-production Modified: php/php-src/branches/PHP_5_3/php.ini-development =================================================================== --- php/php-src/branches/PHP_5_3/php.ini-development 2010-10-18 01:59:58 UTC (rev 304462) +++ php/php-src/branches/PHP_5_3/php.ini-development 2010-10-18 02:10:29 UTC (rev 304463) @@ -1547,7 +1547,7 @@ ; collection through a shell script, cron entry, or some other method. ; For example, the following script would is the equivalent of ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): -; cd /path/to/sessions; find -cmin +24 | xargs rm +; find /path/to/sessions -cmin +24 | 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, even when register_globals Modified: php/php-src/branches/PHP_5_3/php.ini-production =================================================================== --- php/php-src/branches/PHP_5_3/php.ini-production 2010-10-18 01:59:58 UTC (rev 304462) +++ php/php-src/branches/PHP_5_3/php.ini-production 2010-10-18 02:10:29 UTC (rev 304463) @@ -1555,7 +1555,7 @@ ; collection through a shell script, cron entry, or some other method. ; For example, the following script would is the equivalent of ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): -; cd /path/to/sessions; find -cmin +24 | xargs rm +; find /path/to/sessions -cmin +24 | 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, even when register_globals Modified: php/php-src/trunk/php.ini-development =================================================================== --- php/php-src/trunk/php.ini-development 2010-10-18 01:59:58 UTC (rev 304462) +++ php/php-src/trunk/php.ini-development 2010-10-18 02:10:29 UTC (rev 304463) @@ -1453,7 +1453,7 @@ ; collection through a shell script, cron entry, or some other method. ; For example, the following script would is the equivalent of ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): -; cd /path/to/sessions; find -cmin +24 | xargs rm +; find /path/to/sessions -cmin +24 | 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. Modified: php/php-src/trunk/php.ini-production =================================================================== --- php/php-src/trunk/php.ini-production 2010-10-18 01:59:58 UTC (rev 304462) +++ php/php-src/trunk/php.ini-production 2010-10-18 02:10:29 UTC (rev 304463) @@ -1461,7 +1461,7 @@ ; collection through a shell script, cron entry, or some other method. ; For example, the following script would is the equivalent of ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): -; cd /path/to/sessions; find -cmin +24 | xargs rm +; find /path/to/sessions -cmin +24 | 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 CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php