Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
- After changing PHP settings in Plesk (for example upload_max_filesize), the new value is not applied on the website phpinfo().
- Apache logs may contain messages similar to the following:
CONFIG_TEXT: cgi_wrapper: /var/www/vhosts/system/example.com/etc/php.ini: No such file or directory
- The file exists on the server:
# cat /var/www/vhosts/system/example.com/etc/php.ini | grep upload_max_filesize
upload_max_filesize = 4G
Cause
The issue occurs because the CageFS environment for the subscription user is not properly synchronized.
Resolution
Refresh the CageFS environment for the affected subscription user:
- Connect to the Plesk server via SSH.
-
Disable CageFS for the subscription user
# cagefsctl --disable example_abcdefgh
-
Enable CageFS again
# cagefsctl --enable example_abcdefgh
Comments
Please sign in to leave a comment.