Page 1 of 1

PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian

Posted: Thu Jul 15, 2021 9:04 am
by rikcage
Hi friends.
I present to you for review the script wich automaticly install in Ubuntu PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 and integrate it in VestaCP.
The script and tutorial you can get on https://github.com/rikcage/vst-php-selector
I tested it on Ubuntu 18.04 but I think it should work on ather OS as Debian and olds OS of Ubuntu and Debian.

Please your reviews.

Re: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu

Posted: Thu Jul 15, 2021 10:07 am
by skurudo
Wow! Nice, very nice!

(made post sticky for 180 days.. if will be more feedback or some nice thing, then will be sticky longer or forever)

Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu

Posted: Wed Jul 21, 2021 6:46 pm
by rikcage
Hi, friends.
At the moment the script works only on Ubuntu 18.04.

In the Inet there are a lot of tutorials how to install php 7.3-8.0 on Ubuntu 14.04/16.04.
The main idea is

Code: Select all

sudo apt-get update
sudo apt -y install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt -y install php7.4
I try it on Ubuntu 14.04/16.04 but I see message like that
Package php7.4 does not exist

May be someone has installed php7.4 on Ubuntu 14.04/16.04 share your experience.

Soon I`ll try to test it for Debian.

May be your experience will help to inprove this script.

Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu

Posted: Wed Jul 21, 2021 9:27 pm
by imperio
rikcage, Thank you! Great job

Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu

Posted: Fri Jul 23, 2021 8:49 am
by eris
rikcage wrote:
Wed Jul 21, 2021 6:46 pm
Hi, friends.
At the moment the script works only on Ubuntu 18.04.

In the Inet there are a lot of tutorials how to install php 7.3-8.0 on Ubuntu 14.04/16.04.
The main idea is

Code: Select all

sudo apt-get update
sudo apt -y install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt -y install php7.4
I try it on Ubuntu 14.04/16.04 but I see message like that
Package php7.4 does not exist

May be someone has installed php7.4 on Ubuntu 14.04/16.04 share your experience.

Soon I`ll try to test it for Debian.

May be your experience will help to inprove this script.
Deb.sury does not support Ubuntu 14.04 / 16.04 any more so no change to make it work with this method.