]> git.pld-linux.org Git - packages/php.git/commitdiff
- experimental: allow using SAPI-dependent config files (loaded after global)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 12 Jun 2002 19:13:27 +0000 (19:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- define session.save_path as /tmp for cgi SAPI and /var/run/php for apache SAPI
- release 2.1, please test

Changed files:
    php.ini -> 1.10.2.1

php.ini

diff --git a/php.ini b/php.ini
index 56e1237e67c61f66e36369e1f1f859f31e8eb5c6..6dcc83ca65b720d02ed4c86edd25518eb018a7cb 100644 (file)
--- a/php.ini
+++ b/php.ini
@@ -353,9 +353,10 @@ ifx.nullformat                     =       0       ; NULL's are returned as empty strings, unless this is set
 
 [Session]
 session.save_handler      = files   ; handler used to store/retrieve data
-session.save_path         = /var/run/php    ; argument passed to save_handler
-                                    ; in the case of files, this is the
-                                    ; path where data files are stored
+;; NOTE: default save_path is set in SAPI-dependent .ini file
+;session.save_path         = /tmp    ; argument passed to save_handler
+;                                    ; in the case of files, this is the
+;                                    ; path where data files are stored
 session.use_cookies       = 1       ; whether to use cookies
 session.name              = PHPSESSID  
                                     ; name of the session
This page took 0.664811 seconds and 4 git commands to generate.