为什么$ pear-> packageExists()在已安装的包上总是返回false?

我通过安装Mail( http://pear.php.net/package/Mail )

pear install Mail 

一切似乎没问题,但以编程方式检查此软件包:

 $pear = new PEAR_Registry(); $enabled = $pear->packageExists('Mail'); 

总是失败(错误)。

有人可以给我任何build议吗?

如果我尝试再次安装邮件,我得到:

 pear/Mail is already installed and is the same as the released version 1.2.0 install failed 

我的include_path设置:

 include_path = ".;C:\Program Files (x86)\IIS Express\PHP\v5.3\pear;" 

邮件包已安装到C:\ Program Files文件(x86)\ IIS Express \ PHP \ v5.3 \ pear \ Mail目录

重新安装邮件没有帮助

Solutions Collecting From Web of "为什么$ pear-> packageExists()在已安装的包上总是返回false?"