【发布时间】:2011-01-08 00:50:33
【问题描述】:
我有安装了最新 XAMPP 的 Windows 7。在大多数情况下,我将 BASE 配置为可以工作。我的问题是,在 BASE 中,当我单击图形警报按钮时,出现此错误:
Error loading the Graphing library:
检查您的 Pear::Image_Graph 安装!
* 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>
我认为这可能与 php.ini 的包含路径有关,所以这是它目前所说的: ;;;;;;;;;;;;;;;;;;;;;;;;;; ;路径和目录; ;;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX:“/path1:/path2” ;include_path = ".:/php/includes" ; ;窗口:“\path1;\path2” ;include_path = ".;c:\php\includes" ; ; PHP 对 include_path 的默认设置是 ".;/path/to/php/pear" ; http://php.net/include-path include_path = ".;C:\xampp\php\PEAR"
我真的不知道如何解决这个问题。我搜索了一段时间的一些文档,但大多数都提到在 ubuntu 上安装。
我不知道任何 pear 或 php,所以如果您知道如何解决这个问题,请彻底解释。我愿意提供所需的尽可能多的信息。
【问题讨论】:
标签: base