NEW LOCATION

Olá Brazil Brazil NVMe-powered VPS Plans in Brazil Now Available.

Deploy Instantly
  • +357 2425 0808
  • Login
  • English

Home

Blog

How To Upgrade PHP to 7.2 on CentOS 7...

How To Upgrade PHP to 7.2 on CentOS 7

How To Upgrade PHP to 7.2 on CentOS 7

NetShop ISP

NetShop ISP · Blog Author

Sep 27, 2022 · Technical Tutorials

CentOS 7 is the oldest RHEL-based OS distribution that is currently maintained (end of maintenance updates will be on 30th of June 2024). It’s initial launch was in July 2014 and since then it has been used for millions of server-side installations.

There are many system admins and developers out there whose applications requiring to be updated whilst remaining on CentOS 7. In this article we will explain the easiest way to upgrade PHP to 7.2 on a CentOS 7 server.

Pre-requisites

  • CentOS 7 Server with Internet Connection
  • Root access on Server

Steps to Upgrade PHP to 7.2 on CentOS

  1. Turn on EPEL repository
    yum install epel-release -y
  2. Turn on REMI repository
    yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y
  3. Install necessary yum utilities package
    yum install yum-utils -y
  4. Enable REMI repo as per your desired php version (in our case 7.2)
    yum-config-manager –enable remi-php72
    yum update -yu
  5. Install PHP 7.2
    yum install php72 -y
  6. Confirm new PHP version
    php -v

Press Releases
79

Free VPS Trial

No Credit Card Required.

Recent Posts

Black Friday & Cyber Monday Offer – 30% Lifetime Discount on VPS Plans

Black Friday & Cyber Monday Offer – 30% Lifetime Discount on VPS Plans

02 December, 2024

How To Install Sendy on Ubuntu 22.04 Server

How To Install Sendy on Ubuntu 22.04 Server

27 November, 2024

How To Extract Certificates and Private Key from .PFX file

How To Extract Certificates and Private Key from .PFX file

19 November, 2024

NetShop ISP CEO Stefano Sordini to Moderate Key Panel on Forex AI Automation at Cyprus Fintech Summit 2024

NetShop ISP CEO Stefano Sordini to Moderate Key Panel on Forex AI Automation at Cyprus Fintech Summit 2024

15 November, 2024

Preparing for the Daylight Saving Time (DST) Change: Essential Updates for MetaTrader 4/5 Platforms

Preparing for the Daylight Saving Time (DST) Change: Essential Updates for MetaTrader 4/5 Platforms

25 October, 2024

#letushostyou

Award Winning Hosting Provider established in 2004.

120 Faneromenis Avenue, Imperial Tower, 2nd Floor, Larnaca 6031, Cyprus

Products

Bare Metal Servers

Customized Servers

Virtual / Cloud Servers

Forex VPS

Storage VPS

cPanel Web Hosting

Reseller Web Hosting

Colocation

Addons

Premium DNS

Email Hosting

Cloud Backup

DDoS Protection

Licenses

SSL Certificates

Domain Names

Premium SLAs

About Us

Data Center Locations

Looking Glass

Our Company

Contact Us

Careers in Cyprus

Become a Partner

Awards

Certifications

© 2024 S.S. NetShop Internet Services Ltd. All rights reserved.  Terms & Conditions  |  Privacy Policy
CY Reg. Number: HE 217340 | EU VAT Number: CY10217340J

Visa
Mastercard
PayPal
Bitcoin
Tether
Ethereum
Litecoin
Wise
Revolut
Wire Transfer