 <p>Did you remove old version of the php? <code>sudo yum remove php</code> or (php5, I don't remember how excatly the package is named)</p> <p>After removing run <code>sudo updatedb</code> and <code>sudo locate php</code> and delete any leftovers (e.g /etc/php, /usr/local/php and so on). Care not to delete files from other applications or the package manager. When your system is clean and no traces of the old version are there install the new version: after the config step that finishes the guide run <code>make</code> and then <code>sudo make install</code></p>