Ray UK Posted October 29, 2023 Share Posted October 29, 2023 (edited) 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: 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. I can't find anywhere else that is setting the save path? Any ideas. Thanks Edited October 30, 2023 by MerseyRay marked as solved (see edit history) Link to comment Share on other sites More sharing options...
QuickUpdate.net Posted October 29, 2023 Share Posted October 29, 2023 Seems to be a conflict - session path is php7.4 but ini file is php8 You probably have multiple php versions in cpanel - you should first make sure which one is active on your site. Link to comment Share on other sites More sharing options...
Ray UK Posted October 29, 2023 Author Share Posted October 29, 2023 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 More sharing options...
Ray UK Posted October 30, 2023 Author Share Posted October 30, 2023 Ive found the offeneding little ...... thing. There was a file called user.ini in the root folder. That save session path was set in there. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now