After completing a migration the following error is displayed in web browser (PHP with FastCGI):
HTTP/1.1 500 Internal Server Error
However PHP is run well if it is switched to Apache module instead of FastCGI.
PHP with FastCGI works properly for some websites, but it doesn't for other sites.
Also the following error is appeared in suexec log file:
# tailf /var/log/httpd/suexec_log
[2014-10-07 06:08:41]: SecureLVE jail error Invalid regexps: no match for path to base home directory
This happenes when package "cagefs" is installed and enabled for all users.
As a workaround CageFS can be turned off on the server.
Check whether "cagefs" package is installed:
# rpm -qa | grep 'cagefs'
Disable CageFS for all users:
# cagefsctl --disable-all
After that PHP with FastCGI should function OK.