updating php red hat

JochemQuery asked:

I am trying to install PHP MVC framework Symfony.
When I go to the check requirements page it says that I have to update my php to version 5.3.17+.

I have an VPS with RedHat. I am totally new in this so I hoped people here could help me with the commands how to upgrade it to php 5.3.17+ or 5.4 (which I prefer).

PHP needs to have PDO working

My answer:

With Red Hat and derived distributions, I recommend using the remi repository to get PHP packages (and symfony) to ensure a stable system (though with necessary bugfix updates as well). It currently contains PHP 5.3.19, symfony 1.4.20 and symfony2 2.1.3.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.