【发布时间】:2017-01-30 07:00:29
【问题描述】:
从命令行:
C:\Users\Lemur>pear install --onlyreqdeps Mail
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
downloading Mail-1.3.0.tgz ...
Starting to download Mail-1.3.0.tgz (23,110 bytes)
........done: 23,110 bytes
ERROR: failed to mkdir C:\php\pear\tests\Mail\tests
我在 xampp\php\pear\Mail 中看到一个新创建的 Mail 文件夹,这是正确的,但该文件夹没有内容。
此外,错误表明安装正在尝试将某些内容放在 C:\php\pear\tests\Mail\tests。没有这样的目录C:\php\pear...
怎么了? php.ini 中的 include_path 正确 (C:\xampp\php\pear)。
提前致谢。
【问题讨论】:
-
使用不同的方法,我试过: php pyrus.phar install Mail-1.3.0 only to have the system come back with Pyrus\XMLParser\Exception: Invalid XML document Pyrus\XMLParser\Exception: Line 2:元素'{pear2.php.net/dtd/customcommand-2.0}commands',属性'version':值'(null)'与固定值约束'2.0'不匹配。
标签: windows email installation xampp package