I am running PHP-FPM on php72.
This is the ONLY version of PHP installed on my server.
Wordpress is throwing an insane amount of errors like this:
So I edited /var/cpanel/userdata/user/user.com.php-fpm.yaml
It looks like this now:
After that, I rebuilt and restarted:
/scripts/php_fpm_config --rebuild
/scripts/restartsrv_apache_php_fpm
However it continues to log the error. It is still attempting to read directory php71
As a side note, on MultiPHP.ini it is set to:
session.save_path = "/var/cpanel/php/sessions/ea-php72"
Which I believe is irrelevant in my case, but just fyi.
Where should I set the path, if not in that yaml file then?
Many thanks
This is the ONLY version of PHP installed on my server.
Wordpress is throwing an insane amount of errors like this:
(notice php71)Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php71)
So I edited /var/cpanel/userdata/user/user.com.php-fpm.yaml
It looks like this now:
Code:
_is_present: 1
php_value_session_save_path: { name: 'php_value[session.save_path]', value: "/var/cpanel/php/sessions/[% ea_php_version %]" }
/scripts/php_fpm_config --rebuild
/scripts/restartsrv_apache_php_fpm
However it continues to log the error. It is still attempting to read directory php71
As a side note, on MultiPHP.ini it is set to:
session.save_path = "/var/cpanel/php/sessions/ea-php72"
Which I believe is irrelevant in my case, but just fyi.
Where should I set the path, if not in that yaml file then?
Many thanks