与多家商店一起运行 Magento。基础商店完美运行。在到达结帐并切换到 https 时,在二级商店上会生成这组警告:
Warning: require_once() [function.require-once]: open_basedir restriction in effect.
File(/var/www/vhosts/mainstore.com/httpdocs/app/Mage.php) is not within the allowed path(s): (/var/www/vhosts/secondarystore.com/httpdocs:/tmp) in /var/www/vhosts/secondarystore.com/httpdocs/index.php on line 41
Warning: require_once(/var/www/vhosts/mainstore.com/httpdocs/app/Mage.php) [function.require-once]: failed to open stream: Operation not permitted in /var/www/vhosts/secondarystore.com/httpdocs/index.php on line 41
Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/mainstore.com/httpdocs/app/Mage.php' (include_path='.:') in /var/www/vhosts/secondarystore.com/httpdocs/index.php on line 41
phpinfo 为 open_basedir 显示以下内容
local value : /var/www/vhosts/mainstore.com/httpdocs:/tmp
master value: none
是什么赋予了?