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? –