Debian11 + MyVesta + Nginx + PHP-fpm 8.0

Post Reply
paolodaniele
Posts: 2
Joined: Tue Oct 18, 2022 6:49 pm

Hi Guys,
hope this is useful for someone who need to install myVesta with a newest PHP version from scratch.

First of all, you cannot install PHP8.1 because it has some known problem with Phpmyadmin and it won't work.
Also, do not try to update an existing version or trying to install 2 version on the same server, update-alternatives do not work and both php-fpm stopped their work.

Now let's go to install.
First, install Debian 11, pretty obviously. :D

After that you have to update apt using the Sury package:

Code: Select all

echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/phpsury
Then you'll have to block the install of php 8.1.
This could be done by editing (or creating) the /etc/apt/preferences file.
This is the way:

Code: Select all

Package: php
Pin: version 8.0
Pin-Priority: 100

Package: php-fpm
Pin: version 8.0
Pin-Priority: 100
After download the script packages from the website:

Code: Select all

 curl -O http://c.myvestacp.com/vst-install-debian.sh 
You will have to edit.
I'll simplify all and attached the edited file.
After that you can enjoy your brand new myVesta with PHP8.0
Of course this way could be improved and it's not perfect, but it works!

Bye!
Attachments
vst-install-debian.zip
(16.23 KiB) Downloaded 146 times

Tags:
tienloc1
Posts: 27
Joined: Sun Aug 08, 2021 9:58 pm

Umm, so we can't use PHP 8.1 with myVesta? The OS on my VPS is Debian10.
Russel20
Posts: 1
Joined: Wed Nov 18, 2020 8:47 am

please tell me if wordpress will work in such an implementation??

I uploaded wordpress files to the root, but it doesn't want to appear
Ominae
Posts: 19
Joined: Fri Jul 10, 2020 4:30 am

Russel20 wrote: Sun Aug 13, 2023 1:14 am please tell me if wordpress will work in such an implementation??

I uploaded wordpress files to the root, but it doesn't want to appear
wordpress works very well
maybe you must have some problem choosing the user's NGINX template


Server LEMP
myVesta 0.9.9-0-4
Debian 12.0
NGINX
PHP 8.2-FPM

all stable

===================================================

Server LEMP
myVesta 0.9.9-0-4
Debian 12.1
NGINX
PHP 8.2-FPM

I had problems restoring the backup of the users and then a failure of PHP8.2-FPM that would not start.

I'm still testing it and figuring out how to restore users from a server:

LEMP
myVesta 0.9.9-0-4
Debian 10.13
NGINX
PHP7.3-FPM
Post Reply