open_basedir的限制,我有一個奇怪的錯誤消息:的file_get_contents():實際上
的file_get_contents():實際上open_basedir的限制。 文件(/路徑/到/文件)不在允許的路徑(S)內: (/庫/ Web服務器:在/ var/tmp目錄:/路徑/到)
正如所見,路徑文件已添加到允許的路徑中,爲什麼open_basedir限制仍然有效?
open_basedir的限制,我有一個奇怪的錯誤消息:的file_get_contents():實際上
的file_get_contents():實際上open_basedir的限制。 文件(/路徑/到/文件)不在允許的路徑(S)內: (/庫/ Web服務器:在/ var/tmp目錄:/路徑/到)
正如所見,路徑文件已添加到允許的路徑中,爲什麼open_basedir限制仍然有效?
您需要檢查/ path和/ path/to的權限。不知何故,它沒有顯示You don't have permission to access
,但這個open_basedir restriction in effect
消息。
哎呦,這是原因..謝謝! – nil
可能出現[open \ _basedir限制生效。文件(/)不在允許的路徑中:](http://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-路徑) –
nope。我的設置是正確的.. – nil
你讀得很快......你滾動,直到http://stackoverflow.com/a/11233478/797495? –