Search code examples
pearphing

Security Error while installing phing using pear


I am installing phing using instructions here I get the following error. I have pear version 1.9.3

[root@localhost Desktop]# pear install phing/phing
SECURITY ERROR: package in channel "pear.phing.info" retrieved another channel's name for download! ("pear.php.net")
install failed

This ticket shows the error was reported but they could not reproduce it!

Any workaround suggested?

OS: CentOS


Solution

  • Try to download it with

    $ pear download pear.phing.info/phing
    

    - you will have a .tgz file now. Look inside and see if the package.xml really contains a <channel>pear.php.net</channel> line. If this is really so, please report back.

    Otherwise, just install the downloaded file with

    $ pear install Phing-1.2.3.tgz