版主啊,麻烦你再看下啊:
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
