我繼承了一個託管網站和我得到了以下3個錯誤:PHP錯誤 - 致命錯誤:未知:失敗需要開放
-Warning: Unknown: open_basedir restriction in effect. File(/home/rehworkc/public_html/framework/main.php) is not within the allowed path(s): (0) in Unknown on line 0***
-Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0***
-Fatal error: Unknown: Failed opening required '/home/rehworkc/public_html/framework/main.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in Unknown on line 0***
我懷疑這可能是一個權限問題,但不知道如何解決。有任何想法嗎?
謝謝!
生效[開\ _basedir限制可能的複製。文件(/)不在允許的路徑中:](http://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-路徑) – ShiraNai7
你爲什麼「懷疑」許可問題?它絕對是_says_所以。 – arkascha