Upgrading PHP 5.4 to PHP 7.2 on Centos 7

Date: 
Tuesday, April 30, 2019 - 22:00

Check current PHP version
php --version

curl 'https://setup.ius.io/' -o setup-ius.sh

sudo bash setup-ius.sh

sudo yum remove php-cli mod_php php-common

sudo yum install mod_php72u php72u-cli php72u-mysqlnd
(where php72u matches desired version eg php73u etc.)

I also needed to enable the following for my Drupal sites to work:
sudo yum install php72u-soap php72u-xml xmlrpc mbstring json php72u-gd

sudo systemctl restart httpd

Project: 
Category: 
task
Status: 
completed
Priority: 
high

Project Management