PHP PEAR2

it2025-03-29  4

出错:

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

转载于:https://www.cnblogs.com/sink_cup/p/php-pear2.html

相关资源:Windows 下的 PHP-PEAR 安装方法
最新回复(0)