How to install multi PHP versions
- myVesta
- Site Admin
- Posts: 949
- Joined: Fri Jun 19, 2020 9:59 am
- Has thanked: 9 times
- Been thanked: 6 times
Maybe you are doing it in "Packages" section, which is wrong place to do that.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
Go to WEB -> yourdomain -> EDIT
-
- Posts: 2
- Joined: Thu Nov 18, 2021 8:23 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.
- carival60
- Posts: 2
- Joined: Tue Oct 05, 2021 11:10 pm
- Your location: Caracas, Venezuela
- First name and last name: Carlos Rivas
As myvesta explained: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.
1. Download php-installer:
Code: Select all
wget -nv -O ./vesta-inst-php.sh https://c.myvestacp.com/tools/multi-php-install.sh
Code: Select all
nano ./vesta-inst-php.sh
Code: Select all
inst_56=0
inst_70=0
inst_71=0
inst_72=0
inst_73=0
inst_74=0
inst_80=0
Code: Select all
sudo bash ./vesta-inst-php.sh
Hope this can help you...