简体   繁体   English

将phing安装到旧的php目录中

[英]The phing is installed to old php directory

I am trying to install phing using pear. 我正在尝试使用梨安装phing。 I basically used the command 我基本上使用了命令

pear channel-discover pear.phing.info
pear install --alldeps phing/phing

phing is installed but into my old php version folder php5.4.3. 已安装phing,但到我的旧php版本文件夹php5.4.3中。

I wanted to install it on php5.4.16 directory. 我想将其安装在php5.4.16目录中。

I tried removing the old php directory and tried again. 我尝试删除了旧的php目录,然后再次尝试。 But it keeps creating the directory and installing there. 但是它会继续创建目录并在那里安装。 Is there any way I force the pear to install on php5.4.16 directory? 有什么办法可以迫使梨安装在php5.4.16目录上?

Thanks. 谢谢。

Run pear config-show to see where pear installs the files into. 运行pear config-show查看pear将文件安装到的位置。

You may use pear config-set $variable $path to change it. 您可以使用pear config-set $variable $path进行更改。 Then re-install the package. 然后重新安装该软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM