is_executable(): open_basedir 限制在 plesk 服务器中生效

is_executable(): open_basedir restriction in effect in plesk server

我遇到了 plesk 服务器的问题。当我 运行 我的网站时 showsis_executable(): open_basedir 限制生效。

File(/opt/plesk/php/7.2/bin/php) is not within the allowed path(s): (/var/www/vhosts/rescuefirst.com/:/tmp/:/mnt/
Please Help

在域 > webmail.example.com > PHP 设置中设置 PHP 选项 open_basedir to none。参考 plesk