Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

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

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
21 posts
  • 1
  • 2
  • 3
  • Next
rikcage
Posts: 8
Joined: Thu Jul 15, 2021 8:41 am

Os: Ubuntu 17x
Web: apache + nginx
PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian
  • Quote

Post by rikcage » Thu Jul 15, 2021 9:04 am

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.
Last edited by rikcage on Tue Aug 03, 2021 12:30 pm, edited 2 times in total.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

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

Post by skurudo » Thu Jul 15, 2021 10:07 am

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)
Top

rikcage
Posts: 8
Joined: Thu Jul 15, 2021 8:41 am

Os: Ubuntu 17x
Web: apache + nginx
Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu
  • Quote

Post by rikcage » 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.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

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

Post by imperio » Wed Jul 21, 2021 9:27 pm

rikcage, Thank you! Great job
Top

eris
Posts: 34
Joined: Fri Jun 26, 2020 9:25 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu
  • Quote

Post by eris » Thu Jul 22, 2021 11:12 am

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 only support active supported Operating systems as 14.04 and 16.04 are EOL they are not supported any more...
Top

rikcage
Posts: 8
Joined: Thu Jul 15, 2021 8:41 am

Os: Ubuntu 17x
Web: apache + nginx
Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu
  • Quote

Post by rikcage » Tue Aug 03, 2021 12:28 pm

Hi friends.

Good news. This script now works on Debian 9.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian
  • Quote

Post by imperio » Tue Aug 03, 2021 12:33 pm

Greate job. Thank you for your help!
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian
  • Quote

Post by imperio » Wed Aug 18, 2021 2:30 pm

Ubuntu 18.04

Code: Select all

E: Unable to locate package php7.0-fpm
E: Couldn't find any package by glob 'php7.0-fpm'
E: Couldn't find any package by regex 'php7.0-fpm'
E: Unable to locate package php7.0-cgi
E: Couldn't find any package by glob 'php7.0-cgi'
E: Couldn't find any package by regex 'php7.0-cgi'
tested for cgi, fcgi

Code: Select all

./vst-php-fcgid.sh: line 17: add-apt-repository: command not found
should be added in installer

Code: Select all

apt install -y software-properties-common
Top

rikcage
Posts: 8
Joined: Thu Jul 15, 2021 8:41 am

Os: Ubuntu 17x
Web: apache + nginx
Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian
  • Quote

Post by rikcage » Fri Aug 27, 2021 9:40 am

Thanks for your post.

I tested it on Ubuntu server 18.04.5 and it worked fine.

What version of Ubuntu are you using? How can I repeat your problem?
I'll try it again on your version and probably fix script.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian
  • Quote

Post by imperio » Fri Aug 27, 2021 9:47 am

It depends on the hoster's OS image
on DO is not reproduce, but reproduce on Firstvds
Top


Post Reply
  • Print view

21 posts
  • 1
  • 2
  • 3
  • Next

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password