[Pkg-php-commits] r1081 - in php5/trunk/debian: . patches

Raphael Geissert atomo64-guest at alioth.debian.org
Sun May 25 18:24:51 UTC 2008


tags 321460 pending
tags 388808 pending
thanks

Author: atomo64-guest
Date: 2008-05-25 18:24:49 +0000 (Sun, 25 May 2008)
New Revision: 1081

Modified:
   php5/trunk/debian/changelog
   php5/trunk/debian/patches/006-debian_quirks.patch
Log:
php.ini-*: state that when using a custom save_path,
 gc_probability should also be set (Closes: #388808, #321460)


Modified: php5/trunk/debian/changelog
===================================================================
--- php5/trunk/debian/changelog	2008-05-25 17:22:00 UTC (rev 1080)
+++ php5/trunk/debian/changelog	2008-05-25 18:24:49 UTC (rev 1081)
@@ -12,8 +12,10 @@
     only two server-side SAPIs
   * debian/control: Depend on php5-cli in php-pear (Closes: #482517)
     + Previous change reverted because of lots of FTBFS from the PEAR packages
+  * php.ini-*: state that when using a custom save_path,
+    gc_probability should also be set (Closes: #388808, #321460)
 
- -- Raphael Geissert <atomo64 at gmail.com>  Sun, 25 May 2008 12:21:11 -0500
+ -- Raphael Geissert <atomo64 at gmail.com>  Sun, 25 May 2008 13:24:08 -0500
 
 php5 (5.2.6-1) unstable; urgency=medium
 

Modified: php5/trunk/debian/patches/006-debian_quirks.patch
===================================================================
--- php5/trunk/debian/patches/006-debian_quirks.patch	2008-05-25 17:22:00 UTC (rev 1080)
+++ php5/trunk/debian/patches/006-debian_quirks.patch	2008-05-25 18:24:49 UTC (rev 1081)
@@ -165,14 +165,16 @@
  
  ; Whether to use cookies.
  session.use_cookies = 1
-@@ -1026,7 +974,10 @@ session.serialize_handler = php
+@@ -1026,7 +974,12 @@ session.serialize_handler = php
  ; e.g. 1/100 means there is a 1% chance that the GC process starts
  ; on each request.
  
 -session.gc_probability = 1
 +; This is disabled in the Debian packages, due to the strict permissions
 +; on /var/lib/php5.  Instead of setting this here, see the cronjob at
-+; /etc/cron.d/php5, which uses the session.gc_maxlifetime setting below
++; /etc/cron.d/php5, which uses the session.gc_maxlifetime setting below.
++; php scripts using their own session.save_path should make sure garbage
++; collection is enabled by setting session.gc_probability
 +;session.gc_probability = 0
  session.gc_divisor     = 100
  
@@ -267,14 +269,16 @@
  
  ; Whether to use cookies.
  session.use_cookies = 1
-@@ -1076,7 +1024,10 @@ session.serialize_handler = php
+@@ -1076,7 +1024,12 @@ session.serialize_handler = php
  ; e.g. 1/100 means there is a 1% chance that the GC process starts
  ; on each request.
  
 -session.gc_probability = 1
 +; This is disabled in the Debian packages, due to the strict permissions
 +; on /var/lib/php5.  Instead of setting this here, see the cronjob at
-+; /etc/cron.d/php5, which uses the session.gc_maxlifetime setting below
++; /etc/cron.d/php5, which uses the session.gc_maxlifetime setting below.
++; php scripts using their own session.save_path should make sure garbage
++; collection is enabled by setting session.gc_probability
 +;session.gc_probability = 0
  session.gc_divisor     = 1000
  




More information about the Pkg-php-commits mailing list