Articles in this section

PHP settings do not apply on a domain when CageFS is enabled in CloudLinux

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:

  1. Connect to the Plesk server via SSH.
  2. Disable CageFS for the subscription user

    # cagefsctl --disable example_abcdefgh

  3. Enable CageFS again

    # cagefsctl --enable example_abcdefgh

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.