Page 1 of 1

Debian11 + MyVesta + Nginx + PHP-fpm 8.0

Posted: Tue Oct 18, 2022 7:04 pm
by paolodaniele
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!

Re: Debian11 + MyVesta + Nginx + PHP-fpm 8.0

Posted: Fri Dec 02, 2022 9:42 am
by tienloc1
Umm, so we can't use PHP 8.1 with myVesta? The OS on my VPS is Debian10.

Re: Debian11 + MyVesta + Nginx + PHP-fpm 8.0

Posted: Sun Aug 13, 2023 1:14 am
by Russel20
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

Re: Debian11 + MyVesta + Nginx + PHP-fpm 8.0

Posted: Tue Aug 22, 2023 12:58 am
by Ominae
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