PHP-FPM does not work properly with CageFS after changing vhosts location on Plesk Onyx

Created:

2017-02-01 04:27:32 UTC

Modified:

2017-08-08 13:41:39 UTC

0

Was this article helpful?


Have more questions?

Submit a request

PHP-FPM does not work properly with CageFS after changing vhosts location on Plesk Onyx

Applicable to:

  • Plesk Onyx for Linux

Symptoms

PHP-FPM does not work properly with CageFS after changing vhosts location. Different errors may be shown instead of website or website hangs on loading.

The following error can be found in /var/log/php-fpm/error.log:

SecureLVE jail error Invalid regexps: no match for path to base home directory

Cause

Custom vhosts location was not configured in CageFS.

Resolution

Edit /etc/cagefs/cagefs.base.home.dirs file changing /var/www/vhosts to your custom vhosts directory.

Have more questions? Submit a request
Please sign in to leave a comment.