]> git.pld-linux.org Git - packages/php-pecl-session_mysql.git/blame - php-pecl-session_mysql.ini
- outdated in 1.10
[packages/php-pecl-session_mysql.git] / php-pecl-session_mysql.ini
CommitLineData
367aa62b
ER
1; Enable session_mysql extension module
2extension=session_mysql.so
3
4; To enable this module globally:
5;session.save_handler = "mysql"
6
7; You can additionaly use sock and port
f188d339 8;session_mysql.db="host=localhost db=phpsession user=phpsession pass=phpsession"
367aa62b
ER
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
22cce8cf 16;session_mysql.hostcheck="1"
367aa62b
ER
17
18; remove "www." if exist from $_SERVER['SERVER_NAME'], so same session on
19; www.example.com and example.com will work
22cce8cf 20;session_mysql.hostcheck_removewww="1"
367aa62b
ER
21
22; use persistent connection to mysql (every 1 httpd process will use 1
23; connection to mysql)
22cce8cf 24;session_mysql.persistent="1"
367aa62b
ER
25
26; remove sessions older than 21600 seconds when GC (garbage collector) is waked
22cce8cf 27;session_mysql.gc_maxlifetime="21600"
367aa62b
ER
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
22cce8cf 31;session_mysql.locking="1"
367aa62b
ER
32
33; lock timeout, default 5 seconds
22cce8cf 34;session_mysql.lock_timeout="5"
367aa62b 35
09742f21 36; when set to 1, return always SUCCESSFUL, so upper session functions don't log really anything
22cce8cf 37;session_mysql.quiet="0"
This page took 0.160836 seconds and 4 git commands to generate.