Your server is running PHP version 5.4.16 but WordPress 5.2.2 requires at least 5.6.20. hello i follow exactly how to install wordpress on Centos i always received this in the web browser and i cant find new version of php what can i do thank u
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
May I ask if you’re using Apache or Nginx and if you’re running CentOS or Ubuntu and which version as well?
You can follow these steps to install PHP 5.6 on CentOS 7
First install the EPEL repository:
Instal the remi repository
Enable remi
Install PHP 5.6
systemctl restart httpd.service
If you have any server panel you should see PHP 5.6 as available and if not you can use .htaccess file to make 5.6 default for your site.
Let me know how it goes.
Alex
Hello,
You can follow the steps here on how to upgrade your PHP version on a CentOS server:
https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-centos-7
Hope that this helps! Regards, Bobby