Answer the question
In order to leave comments, you need to log in
How to update php correctly?
Hello, on the server was Php 5.3.3 Then I upgraded to version 5.4 According to this guide https://webtatic.com/packages/php54/
As a result, php -v shows 5.4.42
But phpinfo is still 5.3.3 What should be done in this case?
Answer the question
In order to leave comments, you need to log in
It was necessary to update like this:
rpm -Uvh rpms.famillecollet.com/enterprise/remi-release-6.rpm; yum --enablerepo=remi update php-\*
then service httpd restart
Feel free to use 5.6 if there are no compatibility issues.
Probably apache/nginx configs are looking at php5.3.
I don't know how you implemented it, modphp5 or php5-fpm - in any scenario, see http hosts configs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question