我安装了邮件(http://pear.php.net/package/Mail)
pear install Mail
一切似乎都很好,但是以编程方式检查这个包:
$pear = new PEAR_Registry();
$enabled = $pear->packageExists('Mail');
对我来说总是失败(假)。
有人可以给我任何建议吗?
如果我再次尝试安装 Mail,我会得到:
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 目录
重新安装邮件没有帮助