Home >Backend Development >PHP Tutorial >请版主xuzuning大人进来:jpgraph路径.

请版主xuzuning大人进来:jpgraph路径.

WBOY
WBOYOriginal
2016-06-23 14:02:47995browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn