2011-01-08 92 views
0

我使用最新的XAMPP安装Windows 7。我将BASE配置为大部分工作。我的问题是,在BASE,当我点击图上的警报按钮,我得到这个错误:安装Image_Graph并与BASE配合使用

Error loading the Graphing library:

Check your Pear::Image_Graph installation!

* Image_Graph can be found here:at http://pear.veggerby.dk/. Without this library no graphing operations can be performed. 
* Make sure PEAR libraries can be found by php at all: 

    pear config-show | grep "PEAR directory" 
    PEAR directory  php_dir  /usr/share/pear 

    This path must be part of the include path of php (cf. /etc/php.ini): 

    php -i | grep "include_path" 
    include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php</code> 

I think it may have to do with the include path of the php.ini so here is what it currently says: ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" ; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" ; ; PHP's default setting for include_path is ".;/path/to/php/pear" ; http://php.net/include-path include_path = ".;C:\xampp\php\PEAR"

我真的手足无措,如何解决这个问题。我搜索了一段时间的一些文档,但大多数提到在Ubuntu上安装。

我不知道任何梨或PHP,所以如果你知道如何解决这个问题,请详细解释。我愿意根据需要提供尽可能多的信息。

回答

0

您是否试过阅读此文? pear.php.net

我用Debian解决了我的问题。