版主啊,麻煩你再看下啊:
php裡寫了:
require_once ('src/jpgraph.php');
require_once ('src/jpgraph_bar.php');
這2個檔案都在:
C:\Program Files (x86)\EasyPHP-12.1\php\jpgraph\src裡.
然後php.ini裡,原來是這樣的:
; Windows: "\path1;\path2"
;include_path = ".;${path}\php\includes"
;
可不管我哦這麼改,像:
; Windows: "\path1;\path2"
;include_path = ";${path}\php\includes; C:\Program Files (x86)\EasyPHP-12.1\php\jpgraph"
或
; Windows: "\path1;\path2"
;include_path = ";${path}\php\includes; C:\Program Files (x86)\EasyPHP-12.1\php\jpgraph、scr"
都是報這2個錯!!!!
Warning: require_once(src/jpgraph.php): failed to open stream: No such file or directory in C:\Program Files (x86)\EasyPHP-12.1\www\formulaire\reponse_formulaire_systemB_1.php on line 13
Fatal error: require_once(): Failed opening required 'src/jpgraph.php' (include_path='.;C:\php\pear') in C:\Program Files (x86)\EasyPHP-12.1\www\formulaire\reponse_formulaire_systemB_1.php on line 13
到底咋回事啊?
;include_path = 這裡到底要咋寫啊,我頭都大好幾圈了.多謝指教啊,永世不忘.
回複討論(解決方案)
include_path = ".;C:\Program Files (x86)\EasyPHP-12.1\php\jpgraph"