出错:
Pyrus\Installer\Exception: Installation failed
Pyrus\AtomicFileTransaction\MultiException: Unable to begin transaction
InvalidArgumentException: The given path must be a directory.
Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not in a transaction
原因:首次运行时,目录设置错误,应该为php/lib
解决方案:
vi ~/.pear/pearconfig.xml