Accelerating PHP Applications |
|
2024-11-23 |
|
|
37 |
|
|
Common element of various PHP scripts are sessions.
Generic Session Optimizations
- • Don't use session.auto_start.
- • Do not enable session.use_trans_sid
- • Whenever possible set session.cache_limiter to private_no_expire
- • Assign each user (vhost) it's own sessions directory.
- • For large sites consider using session.save_path = "N;/path"
- • If possible avoid automatic garbage collection.