PHP

我收到了一个奇怪的错误消息:

file_get_contents():有效的open_basedir限制。 文件(/ path / to / file)不在允许的路径中:(/ Library / WebServer:/ var / tmp:/ path / to)

如所见,文件的路径已添加到允许的路径中,为什么open_basedir限制仍然有效?


您需要检查/ path和/ path / to的权限。 不知何故,它没有显示You don't have permission to access但是这个open_basedir restriction in effect消息。

链接地址: http://www.djcxy.com/p/69265.html

上一篇: php

下一篇: basedir restriction in effect"