Page 1 of 1

How can I update PHP on ubuntu? - Nginx + PHP-FPM

Posted: Sun Jan 09, 2022 12:26 pm
by DamiDoug
I would like to update my PHP 7.2 to PHP 7.4 or PHP 8.0.
I'm using wordpress and the recommendation is to update my php.

I've tried it in several ways and I can't, it always breaks the panel.
I tried the following ways.

https://youtu.be/5Ac_x5pjTWs
https://www.trykeith.com/blog-post/how- ... on-vestacp
viewtopic.php?t=18041

Note
I'm using Nginx + PHP-FPM without apache
I'm using linux Ubuntu 18.04.6 LTS

Can someone help me? I really need to update

THANKS

Re: How can I update PHP on ubuntu? - Nginx + PHP-FPM

Posted: Mon Jan 17, 2022 1:09 pm
by sandro
I found this: https://www.digitalocean.com/community/ ... 8-04-nginx

As I use vesta on CentOS I can't confirm if this tutorial works, but it doesn't seem complicated to upgrade from php 7.2 to 7.4.

Re: How can I update PHP on ubuntu? - Nginx + PHP-FPM

Posted: Mon May 02, 2022 4:50 am
by Vegas10128
sandro wrote:
Mon Jan 17, 2022 1:09 pm
I found this: https://www.digitalocean.com/community/ ... 8-04-nginx

As I use vesta on CentOS I can't confirm if this tutorial works, but it doesn't seem complicated to upgrade from php 7.2 to 7.4.
Dont follow this tutorial, i have gave it a try under a development server and apache2 will not start and exits with error code.

Re: How can I update PHP on ubuntu? - Nginx + PHP-FPM

Posted: Fri Aug 05, 2022 10:02 pm
by Arsmther
Vegas10128 wrote:
Mon May 02, 2022 4:50 am
sandro wrote:
Mon Jan 17, 2022 1:09 pm
I found this: https://www.digitalocean.com/community/ ... 8-04-nginx

As I use vesta on CentOS I can't confirm if this tutorial works, but it doesn't seem complicated to upgrade from php 7.2 to 7.4.
Dont follow this tutorial, i have gave it a try under a development server and apache2 will not start and exits with error code.
Creating a successful start up development https://owlab.group/our-blog/post/5-dev ... step-guide takes a lot of time, effort, and sacrifice. You'll go through many iterations of creating a product, measuring its usage, trying to learn from the findings, and then making adjustments/building.

Re: How can I update PHP on ubuntu? - Nginx + PHP-FPM

Posted: Wed Jun 21, 2023 7:54 am
by slipchant
Arsmther wrote:
Fri Aug 05, 2022 10:02 pm
Creating a successful start up development https://owlab.group/our-blog/post/5-dev ... step-guide basket random takes a lot of time, effort, and sacrifice. You'll go through many iterations of creating a product, measuring its usage, trying to learn from the findings, and then making adjustments/building.
An article with a lot of interesting information.