Page 11 of 11

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7

Posted: Wed Aug 28, 2019 5:30 pm
by sysdop
MET4LG0D wrote:
Sat Mar 30, 2019 7:00 am
recently I have install vestacp Nginx + PHP-FPM on Centos 7, Now I Want 2 Update PHP-FPM 73
anyone can tell me the process.......
Thanks...........
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
And change the lines to enabled=1, example...

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
Run

Code: Select all

yum clean all && yum upgrade -y && echo "done"
Restart apache, nginx and php-fpm...

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7

Posted: Tue Oct 08, 2019 9:54 pm
by davidgreams
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™️...

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7

Posted: Tue Apr 28, 2020 5:47 am
by jojohn
My company website (Bestforlives) is using php 5.6 on centos 6, is it easy to update to php 7.2 on centos 6?