How to install Phing on CentOS

How to install Phing on CentOS

PHing  INot GNU make; it’s a PHP project build system or build tool based on   Apache Ant . You can do anything with it that you could do with a traditional build system like GNU make, and its use of simple XML build files and extensible PHP “task” classes make it an easy-to-use and highly flexible build framework.

This build tool ensures that the process of creating your  web application from source code happens in a proper and repeatable way. This is the best way to reduce the possibility of errors caused by manual uploads via FTP or SSH using desktop client.

Make sure PEAR is installed for PHP:

yum install php-pear

Then install the PEAR phing package:

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

Or… You can pull phar archive using:

wget http://www.phing.info/get/phing-latest.phar
chmod a+x phing-latest.phar
mv phing-latest.phar phing