Home >Backend Development >PHP Tutorial >请版主xuzuning大人进来:jpgraph路径.
版主啊,麻烦你再看下啊:
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"