欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2024-02-14 14:39:46
...
版主啊,麻烦你再看下啊:
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"