訪問應用程序時,我意識到一個問題線程已經存在,但既然已經關閉,OP沒有迴應的答案。問題線程可以在這裏找到:https://stackoverflow.com/questions/5547333/include-path-c-php5-pear包含路徑錯誤嘗試在本地主機
所以,我的問題是這樣的:
我有我的Facebook應用程序在本地在我的htdocs文件夾(我的DocumentRoot)和它需要的SDK/src目錄/ facebook.php。我試圖查看該頁面時收到以下錯誤:
Warning: require_once(sdk/src/facebook.php) [function.require-once]: failed to open stream: No such file or directory in D:\Apache\Apache2\htdocs\www\immense-headland-4743\index.php on line 14
Fatal error: require_once() [function.require]: Failed opening required 'sdk/src/facebook.php' (include_path='d:\php\pear') in D:\Apache\Apache2\htdocs\www\immense-headland-4743\index.php on line 14
我已嘗試在我的php.ini文件中反斜槓和正斜槓的變體;我在我的index.php試圖set_initial_path()和init_set() - 但沒有任何工程。這裏出了什麼問題?