Change default version of PHP cli

I followed to install PHP 5.4.

I would like to know how to change the default cli (and only the cli) of PHP to 5.4

Please advise.



Howdy -- unfortunately, I don't believe there is a way to do that.

The file "/usr/bin/php", which is what runs when someone calls "php" on the command line, is the binary that comes with PHP 5.3 on CentOS 6.

A second binary is installed when setting up that second PHP version, but you would need to call it directly if you wanted to use it instead, there isn't a good way to switch it out with the default PHP command.