]> git.pld-linux.org Git - packages/php-pecl-session_mysql.git/blob - php-pecl-session_mysql.ini
- outdated in 1.10
[packages/php-pecl-session_mysql.git] / php-pecl-session_mysql.ini
1 ; Enable session_mysql extension module
2 extension=session_mysql.so
3
4 ; To enable this module globally:
5 ;session.save_handler = "mysql"
6
7 ; You can additionaly use sock and port
8 ;session_mysql.db="host=localhost db=phpsession user=phpsession pass=phpsession"
9
10 ; when inserting, retreiving and deleting session from database, add a check
11 ; for $_SERVER['SERVER_NAME'] this disables potential security problem (when
12 ; used in mass virtualhosting), because users cannot edit session for other
13 ; domains $_SERVER['SERVER_NAME'] is copied to local variable before script is
14 ; executed, so when users change $_SERVER['SERVER_NAME'] variable, it does not
15 ; hurt
16 ;session_mysql.hostcheck="1"
17
18 ; remove "www." if exist from $_SERVER['SERVER_NAME'], so same session on
19 ; www.example.com and example.com will work
20 ;session_mysql.hostcheck_removewww="1"
21
22 ; use persistent connection to mysql (every 1 httpd process will use 1
23 ; connection to mysql)
24 ;session_mysql.persistent="1"
25
26 ; remove sessions older than 21600 seconds when GC (garbage collector) is waked
27 ;session_mysql.gc_maxlifetime="21600"
28
29 ; locking support via GET_LOCK()/RELEASE_LOCK(), for more information read this
30 ; http://www.issociate.de/board/post/184369/warning_&_question_about_mysql_sessions_&_concurrency.html
31 ;session_mysql.locking="1"
32
33 ; lock timeout, default 5 seconds
34 ;session_mysql.lock_timeout="5"
35
36 ; when set to 1, return always SUCCESSFUL, so upper session functions don't log really anything
37 ;session_mysql.quiet="0"
This page took 0.060278 seconds and 3 git commands to generate.