HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
Edit the /etc/yum.repos.d/remi-php73.repo using nano.
Code: Select all
yum install nano -y && yum upgrade -y --skip-broken && nano /etc/yum.repos.d/remi-php73.repo
Code: Select all
[remi-php73]
name=Remi's PHP 7.3 RPM repository for Enterprise Linux 7 - $basearch
mirrorlist=http://cdn.remirepo.net/enterprise/7/php73/mirror
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
[remi-php73-test]
name=Remi's PHP 7.3 test RPM repository for Enterprise Linux 7 - $basearch
mirrorlist=http://cdn.remirepo.net/enterprise/7/test73/mirror
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Code: Select all
yum clean all && yum upgrade -y && echo "done"
-
- Posts: 3
- Joined: Tue Oct 08, 2019 9:36 pm
- Os: Ubuntu 13x
- Web: apache
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
What OS are you running?
When I took my CentOS 7 machine from PHP 5 to 7, I shut down Apache, removed old PHP packages, and installed new ones
Then restarted Apache, and It Just Worked™️...
When I took my CentOS 7 machine from PHP 5 to 7, I shut down Apache, removed old PHP packages, and installed new ones
Then restarted Apache, and It Just Worked™️...
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
My company website (Bestforlives) is using php 5.6 on centos 6, is it easy to update to php 7.2 on centos 6?