Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

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

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
103 posts
  • Page 11 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
sysdop
Posts: 88
Joined: Fri Dec 08, 2017 1:46 am
Contact:
Contact sysdop
Website Skype

Os: CentOS 6x
Web: nginx + php-fpm
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by sysdop » Wed Aug 28, 2019 5:30 pm

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...
Top

davidgreams
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
  • Quote

Post by davidgreams » Tue Oct 08, 2019 9:54 pm

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™️...
Top

jojohn
Posts: 1
Joined: Tue Apr 28, 2020 5:37 am

Os: CentOS 5x
Web: apache
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by jojohn » Tue Apr 28, 2020 5:47 am

My company website (Bestforlives) is using php 5.6 on centos 6, is it easy to update to php 7.2 on centos 6?
Top


Post Reply
  • Print view

103 posts
  • Page 11 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password