Is there a simple way to do this? Something like just modifying php.ini or do i have to modify the source of the php script?
Because i have lots of clients that use php and php sessions, so would be impossible to modify all the scripts.
I have seen that php5 on Debian stores its session files in /var/lib/php5/. I tought about mounting this folder using nfs. So the sessions on each server would be synchronized. But them came another questions, i have two servers (server1 and server2) if i mount server1's folder on server2 and server1 goes down, so server2 would lost all sessions and my ha enviroment have a serious point of failure. Any ideas of how to solve this?
|