I am trying to install Propel ORM on CentOS, which has a dependency for phing. I completed the following, which was successful:
pear channel-discover pear.phing.info pear install phing/phing pear install Log
However, when I run ./propel-gen as described in the Propel documentation , it does not work with an error:
./propel-gen: line 69: phing: command not found
However, if I check if phing is installed, it does not appear in the package list, but if I try to install it again, this will not work:
$ 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
I need to run ./propel-gen to check if Propel is installed successfully, so I got a little stuck at this point. I also double-checked that Pear is in PHP include_path by running the following that exits bool(true) :
<?php require_once 'System.php'; var_dump(class_exists('System', false)); ?>
Any help in debugging and fixing this is much appreciated! :)
source share