Info
Content

PHP Session Save Path


You can find the session.save_path through php info or using the command line:

php -i | grep session
session.save_path => /var/lib/php/session
By default if there is no value, it will use a default e.g. /var/lib/php/session but this depends on the operating system.

Once you have that, you clear PHP sessions by going into that path and clearing out the relevant session files.

No Comments
Back to top