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 General Discussion Debian/Ubuntu
  • Search

How can I update PHP-FPM from 7.2 to 7.3?

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
tlozano
Posts: 37
Joined: Tue Nov 13, 2018 11:44 am

Os: CentOS 6x
Web: nginx + php-fpm
How can I update PHP-FPM from 7.2 to 7.3?
  • Quote

Post by tlozano » Fri Feb 08, 2019 11:15 pm

I had do a fresh install of Ubuntu 18.04 and VestaCP and all is working fine, but I'd like to update from php 7.2 to 7.3.
I'm using Nginx and PHP-FPM and I do some test, but i doesn't work fine for me.
I'm able to install php 7.3 with this:

Code: Select all

sudo apt-get install php7.3-fpm php7.3-cli php7.3-mysql php7.3-gd php7.3-imagick php7.3-recode php7.3-tidy php7.3-xmlrpc
And then I test it with php -v and the version is 7.3, but...
when i test it from web, with

Code: Select all

 <?php phpinfo( ); ?> 
 
it's remain at 7.2 version, and if I rebuild the web, it brokes and get a 404 error.

What is the correct way to do the update?.

Thank you.
Top

conste
Posts: 9
Joined: Wed Feb 05, 2014 12:33 am

Re: How can I update PHP-FPM from 7.2 to 7.3?
  • Quote

Post by conste » Thu Jul 15, 2021 12:45 pm

I have the same problem. My system is Ubuntu 18.04, nginx/1.19.6

My update CMS requires php7.3 thus I always get a pop-up reminder.

As you have done, I have installed php7.3-fpm. On the command line, ensuing the

Code: Select all

php -v
provides a php 7.3 version. However, I still get a pop-up reminder on my website.

After some inspection, I have done the following:
1. I copied the contents of

Code: Select all

/etc/php/7.2/fpm/pool.d
to

Code: Select all

/etc/php/7.3/fpm/pool.d
2. I deleted the symbolic link

Code: Select all

/etc/init.d/php-fpm -> /etc/init.d/php7.2-fpm
3. I created a symbolic link of

Code: Select all

/etc/init.d/php-fpm -> /etc/init.d/php7.3-fpm
4. Restarted php-fpm using

Code: Select all

systemctl restart php-fpm
A check after that gives me php 7.3 on my CMS.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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