Page 2 of 5

Re: How to install multi PHP versions

Posted: Sat Jun 26, 2021 12:47 pm
by shahadatnb
Changing the php version in the Web Template but no effect. all time working last php version

Re: How to install multi PHP versions

Posted: Sat Jun 26, 2021 12:57 pm
by myVesta
shahadatnb wrote: Sat Jun 26, 2021 12:47 pm Changing the php version in the Web Template but no effect. all time working last php version
Maybe you are doing it in "Packages" section, which is wrong place to do that.
Go to WEB -> yourdomain -> EDIT

Re: How to install multi PHP versions

Posted: Tue Oct 05, 2021 11:17 pm
by carival60
Coming from VestaCP to myVesta. Fresh install on Debian 10. The script works nicely, no issues.

Thanks and keep the good work...

Re: How to install multi PHP versions

Posted: Thu Nov 18, 2021 8:28 pm
by juanluis12
Hello I want to know how I can put 1 in the version of php that I want to install, I am using putty as a command console and when I try to place the 1 to indicate that it is the version that interests me in multiphp it does not allow me then I know which key I must click to put the 1 through ssh in putty.

Re: How to install multi PHP versions

Posted: Fri Nov 19, 2021 9:49 pm
by carival60
juanluis12 wrote: Thu Nov 18, 2021 8:28 pm Hello I want to know how I can put 1 in the version of php that I want to install, I am using putty as a command console and when I try to place the 1 to indicate that it is the version that interests me in multiphp it does not allow me then I know which key I must click to put the 1 through ssh in putty.
As myvesta explained:

1. Download php-installer:

Code: Select all

wget -nv -O ./vesta-inst-php.sh https://c.myvestacp.com/tools/multi-php-install.sh
2. After installation now you need to edit the script before you run it. Using Vi o Nano editors

Code: Select all

nano ./vesta-inst-php.sh
3. Put 1 in desired PHP version.

Code: Select all

inst_56=0
inst_70=0
inst_71=0
inst_72=0
inst_73=0
inst_74=0
inst_80=0
4. After that, save it, and then run the next script:

Code: Select all

sudo bash ./vesta-inst-php.sh
It's pretty straightfoward...

Hope this can help you...

Re: How to install multi PHP versions

Posted: Sat Nov 20, 2021 12:03 am
by myVesta
I think he never used 'vi'.

@juanluis12
Google is your friend, probably even on YouTube you can find 'how to use linux vi tutorial'

Re: How to install multi PHP versions

Posted: Sun Nov 21, 2021 1:14 pm
by compiz
When I do update on my server, i see a lot of php 8.1 packages being installed/updated.
Do we have support for php 8.1? Is it out?

Re: How to install multi PHP versions

Posted: Mon Nov 22, 2021 2:03 pm
by myVesta
compiz wrote: Sun Nov 21, 2021 1:14 pm When I do update on my server, i see a lot of php 8.1 packages being installed/updated.
Do we have support for php 8.1? Is it out?
nope, it's still in 'release candidate' phase, but obviously package for 8.1 already exists, so I will add templates soon.

Re: How to install multi PHP versions

Posted: Wed Dec 08, 2021 11:23 pm
by Meister
hello,

now PHP 8.1 is released. When will it be implemented in the templates? :)

best regards

Re: How to install multi PHP versions

Posted: Sun Dec 12, 2021 9:00 pm
by compiz
I see:
Changelog:
Version 0.9.8-26-53 [12-Dec-2021]
==================================================
* Support for PHP 8.1
* Function to ensure that pool.d folders are not empty

so we just inst_81=1 ?