安装Image_Graph并使用BASE

时间:2011-01-08 00:50:34

标签: base

我的Windows 7安装了最新的XAMPP。在大多数情况下,我将BASE配置为工作。我的问题是在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 ; ;;;;;;;;;;;;;;;;;;;;;;;;;

* 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>

我真的不知道如何解决这个问题。我搜索了一些文档,但大多数都提到在ubuntu上安装。

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

1 个答案:

答案 0 :(得分:0)

你试过这个吗? pear.php.net

我用Debian解决了我在Debian上的问题。