Jpgraph path problem.

Source: Internet
Author: User
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?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.