After transferring a site to a server, sometimes errors like “open_basedir restriction in effect. File(/tmp/***) is not within the allowed path(s)».
There can be two reasons for the error:
open_basedirthe required directory is not specified.
To solve the problem you need to file
/usr/local/ispmgr/etc/ispmgr.conf add line:
Where instead of
/tmp you should specify the directory you need.
After that you need to restart the ISPmanager panel by running the command:
killall -9 -r ispmgr
After that, all hosts (www-domains) newly created in ISPmanager will have
open_basedir desired directory. To change the configuration of existing sites, you need in the section "www domains → Edit»Disable PHP support, save changes, then enable again.