PHP PEAR2

出错:

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

posted @ 2013-07-12 15:30  sink_cup  阅读(567)  评论(0编辑  收藏  举报
Creative Commons License

本站原创作品采用知识共享署名 3.0许可协议进行许可。