[SOLVED] I have installed PHP 5.4.34
on Centos Apache server
, where PHP 5.1.6
was installed previously. I checked the version from command line, it said the current version is PHP 5.4.34
, but when I run the website hosted on this server, the message displays "Your host needs to use PHP 5.2.4
or higher". Anyone knows the reason? Thank you very much!
Thank you everyone for your help during past days!! I have reinstalled it from a repository instead of downloading the packages and build it by myself... Then the problem was fixed. The details are as follows for centos 5.x:
1 --> rpm -Uvh https://mirror.webtatic.com/yum/el5/latest.rpm
2 --> yum install php55w php55w-opcache
3 --> yum install yum-plugin-replace
4 --> yum replace php-common --replace-with=php55w-common
5 --> yum install php55w-opcache
The details can be found here for other platforms https://webtatic.com/packages/php55/