[請益] 路徑出現錯誤問題?

看板PHP作者 (amos)時間15年前 (2010/03/31 10:00), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
各位前輩: 我在php中使用include的時候出現下列兩個錯誤訊息, 目前對於php的include檔案的路徑不是很清楚, 可以請各位前輩給小弟指導謝謝。 Warning: include(path) [function.include]: failed to open stream: No such file or directory in path on line 2 Warning: include() [function.include]: Failed opening 'path' for inclusion (include_path='.;C:\php5\pear') in path on line 2 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.251.102.3

03/31 14:11, , 1F
set_include_path(), 另外檢查有沒有被 open_basedir 限制
03/31 14:11, 1F

03/31 23:09, , 2F
Thaks 打開open_basedir後就可以用了
03/31 23:09, 2F
文章代碼(AID): #1BigpL9Z (PHP)
文章代碼(AID): #1BigpL9Z (PHP)