2012-01-28 46 views
-1

我試圖在我的VPS上部署一個Zend Framework應用程序。「open_basedir生效限制」VPS上的php錯誤

我的計劃是將整個應用程序上傳到/var/www/vhosts/my.domain/httpdocs文件夾,然後將我的Pl​​esk Panel中的document root設置更改爲httpdocs/public。

但是,當我這樣做時,我得到了上述錯誤。

這裏有答案,但沒有完全符合我的情況。我希望有人對我的情況有特別的建議。 (更改Plesk Panel中的文檔根目錄)

+2

[open_basedir限制生效的可能的重複。文件(/)不在允許的路徑中:](http://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-路徑) – GordonM 2012-01-28 09:55:23

+0

當你得到這個錯誤? – emaillenin 2012-01-28 14:07:22

回答

-2

當然,必須更新PHP open_basedir設置以包含新的文檔根目錄。

但我不知道如何在Plesk中做到這一點。

相關問題