PHP session path errors
It has stopped individual sites from being able to write sessions.
Next Error: Failed to create session ID: files (path: /var/cpanel/php/sessions/ea-php72) in /home/network/public_html/manager/vendor/whmcs/whmcs-foundation/lib/Session.php:0
I've changed the default via MultiPHP manager to set it to /tmp but it's not working. I tried this: " /scripts/clear_orphaned_virtfs_mounts --clearall ; /scripts/update_users_jail ; /scripts/restartsrv_httpd" What do I need to do to get PHP to recognise the new default save_path directories?
I've changed the default via MultiPHP manager to set it to /tmp but it's not working. I tried this: " /scripts/clear_orphaned_virtfs_mounts --clearall ; /scripts/update_users_jail ; /scripts/restartsrv_httpd" What do I need to do to get PHP to recognise the new default save_path directories?
-
Use this : so we can take a closer look at the affected system? You can post the ticket number here and we'll link this thread to it. Thank you.
Hello, thanks for reply. Support Request ID is: 122249950 -
Fixed. I had to do "php -q" instead of "/opt/cpanel/ea-php72/root/usr/bin/php -q" 0 -
Hello @Julien Knoell, I'm glad to see you were able to solve the issue. For PHP-CLI information, check out the following document as well: EasyApache 4 and the ea-php-cli Package - EasyApache 4 - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
6 comments