php.ini session.save_path points to old PHP version folder - Best Practice?


Well-Known Member
Jan 12, 2015
cPanel Access Level
Root Administrator
In the public_html folder of my sites, the php.ini file has:

session.save_path = "/var/cpanel/php/sessions/ea-php56"

This is the same configuration in the php.ini for all my sites. Yet my server was updated so all my sites are running on PHP 7 (7.3 currently). I doubt it really matters where the path is as long as it is writable to all the accounts but it also seems to me if php56 was every removed from the server this folder could get removed.

What is best practice for the session.save_path setting?