Jump to content

Need help with session_save_path [SOLVED]


Ray UK

Recommended Posts

Hi,

So I'm getting the following error when in debug mode

[8] SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php74) failed: Permission denied (13)

Im running php 8 not 7.

Now when I look at phpinfo.php I see this:

image.png.830ce1ae8a06700015eac04d7bee759f.png

The loaded configurations file is /opt/cpanel/ea-php80/root/etc/php.ini but when I view that in terminal, the session path is not set in there.

I have looked in multiphp INI editor in my WHM panel and that shows the following.

image.png.5c5c0ff26a84f94705e9b078c7a75a09.png

I can't find anywhere else that is setting the save path?

Any ideas.


Thanks 

Edited by MerseyRay
marked as solved (see edit history)
Link to comment
Share on other sites

Yes I have 7 & 8 both active in WHM. 

Im using PHP 7 on my live site as that is on PS1.7.

Im currently making a theme for PS 8 using an install in a sub domain and running PHP 8.  If I use 7 on the PS8 version I get a blank screen because the module for the new B.O theme seems to be updated to only work on PHP8.*

Link to comment
Share on other sites

  • Ray UK changed the title to Need help with session_save_path [SOLVED]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...