SOURCES: php-pecl-session_mysql.ini (NEW) - default ini config
glen
glen at pld-linux.org
Mon Jun 12 14:47:54 CEST 2006
Author: glen Date: Mon Jun 12 12:47:54 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- default ini config
---- Files affected:
SOURCES:
php-pecl-session_mysql.ini (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/php-pecl-session_mysql.ini
diff -u /dev/null SOURCES/php-pecl-session_mysql.ini:1.1
--- /dev/null Mon Jun 12 14:47:54 2006
+++ SOURCES/php-pecl-session_mysql.ini Mon Jun 12 14:47:49 2006
@@ -0,0 +1,37 @@
+; Enable session_mysql extension module
+extension=session_mysql.so
+
+; To enable this module globally:
+;session.save_handler = "mysql"
+
+; You can additionaly use sock and port
+session_mysql.db="host=localhost db=phpsession user=phpsession pass=phpsession"
+
+; when inserting, retreiving and deleting session from database, add a check
+; for $_SERVER['SERVER_NAME'] this disables potential security problem (when
+; used in mass virtualhosting), because users cannot edit session for other
+; domains $_SERVER['SERVER_NAME'] is copied to local variable before script is
+; executed, so when users change $_SERVER['SERVER_NAME'] variable, it does not
+; hurt
+session_mysql.hostcheck="1"
+
+; remove "www." if exist from $_SERVER['SERVER_NAME'], so same session on
+; www.example.com and example.com will work
+session_mysql.hostcheck_removewww="1"
+
+; use persistent connection to mysql (every 1 httpd process will use 1
+; connection to mysql)
+session_mysql.persistent="1"
+
+; remove sessions older than 21600 seconds when GC (garbage collector) is waked
+session_mysql.gc_maxlifetime="21600"
+
+; locking support via GET_LOCK()/RELEASE_LOCK(), for more information read this
+; http://www.issociate.de/board/post/184369/warning_&_question_about_mysql_sessions_&_concurrency.html
+session_mysql.locking="1"
+
+; lock timeout, default 5 seconds
+session_mysql.lock_timeout="5"
+
+; when set to 1, return always SUCCESSFUL, so upper session functions dont log really anything
+session_mysql.quiet="0"
================================================================
More information about the pld-cvs-commit
mailing list