脚本宝典收集整理的这篇文章主要介绍了php – phing安装但“未找到”而不是梨列表,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
pear channel-discover pear.phing.info pear install phing/phing pear install LOG
但是,当我运行./propel-gen时,如Propel documentation所述,它失败并显示错误:
./propel-gen: line 69: phing: command not found
但是,如果我检查是否安装了phing,它就不会出现在软件包列表中,但如果我再次尝试安装它,则会失败:
$pear list Installed packages,channel pear.PHP.net: ========================================= Package Version state Archive_Tar 1.3.8 stable Console_Getopt 1.3.1 stable Log 1.12.7 stable PEAR 1.9.4 stable Structures_Graph 1.0.4 stable XML_Util 1.2.1 stable $pear install phing/phing phing/phing is already installed and is the same as the released version 2.4.7.1 install Failed
我需要能够运行./propel-gen来测试Propel是否已经成功安装,所以我现在有点卡住了.我还通过运行以下退出bool(true)的方法仔细检查Pear是否在PHP include_path中:
<?PHP require_once 'System.PHP'; var_dump(class_exists('System',false)); ?>
任何有关调试和帮助的帮助修复这一点非常感谢!
以上是脚本宝典为你收集整理的php – phing安装但“未找到”而不是梨列表全部内容,希望文章能够帮你解决php – phing安装但“未找到”而不是梨列表所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。