The jpgraph.php files mentioned in the include ("src/jpgraph.php") are placed in C:\Jpgraph\src\jpgraph.
Error displayed at runtime:
Warning:include (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 30
Warning:include (): Failed opening ' src/jpgraph.php ' for inclusion (include_path= '.; C:\php\pear ') in C:\Program Files (x86) \easyphp-12.1\www\formulaire\reponse_formulaire_systemb_1.php on line 30
Warning:include (src/jpgraph_bar.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 31
Warning:include (): Failed opening ' src/jpgraph_bar.php ' for inclusion (include_path= '.; C:\php\pear ') in C:\Program Files (x86) \easyphp-12.1\www\formulaire\reponse_formulaire_systemb_1.php on line 31
Fatal error:class ' Graph ' not found in C:\Program Files (x86) \easyphp-12.1\www\formulaire\reponse_formulaire_systemb_ 1.php on line 33
**************************************************************
Find a lot of material to say in php.ini change, but how to change all is wrong, ask here exactly how to write?
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and directories;
;;;;;;;;;;;;;;;;;;;;;;;;;
; Windows: "\path1;\path2"
; include_path = ".; ${path}\php\includes "
Thank you for your great God's advice.
Reply to discussion (solution)
If
Include ("src/jpgraph.php");
Then jpgraph.php should be in the SRC subdirectory of the current directory
If
Include ("src/jpgraph.php");
Then jpgraph.php should be in the SRC subdirectory of the current directory
Thank you for your answer ah, I want to ask is php.ini how to change ah?
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and directories;
;;;;;;;;;;;;;;;;;;;;;;;;;
; Windows: "\path1;\path2"
; include_path = ".; ${path}\php\includes "
How do you write here?