I have installed php by executing following command
yum install php
It install php 5.3.3 in my server.Now i want to install php 5.4.
Please help.Thanks in advance.
I have installed php by executing following command
yum install php
It install php 5.3.3 in my server.Now i want to install php 5.4.
Please help.Thanks in advance.
yum
installs approved versions of packages. The approved version depends on a few things, such as your distribution and whether the package itself has been tested and deemed as working. This testing can sometimes lag well behind the development of the packages. Chances are that the version that you have installed is the latest approved version.
Building PHP isn't manually terribly difficult, so that's probably your best option. Uninstall the version you have from yum
and checkout the official instructions on how to clone and build yourself.
Either that or look around for other packages in yum
that give you a newer version (see @barbarity's answer).