We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to Install PHP 7.3 in Ubuntu 16.04
-
- Posts: 8
- Joined: Sat Aug 20, 2016 6:14 am
How to Install PHP 7.3 in Ubuntu 16.04
I want to know how to upgrade PHP 7 to 7.3 in Ubuntu 16.04 LTS VestaCP.
Is Ubuntu 18.04 is fully supported in Vestacp? and which version of PHP is come after installing VestaCP on Ubuntu 18.04.
Is Ubuntu 18.04 is fully supported in Vestacp? and which version of PHP is come after installing VestaCP on Ubuntu 18.04.
Re: How to Install PHP 7.3 in Ubuntu 16.04
Install the software-properties-common and python-software-properties packages
add the Ondřej PPA
end then update your sources
We can install PHP 7.3 with the following command
To check if PHP 7.3 is installed on your server, use the command below
Output
Code: Select all
sudo apt install software-properties-common python-software-properties
Code: Select all
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
Code: Select all
apt update
Code: Select all
sudo apt install php7.3 php7.3-cli php7.3-common
Code: Select all
php -v
PHP 7.3.0-2+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Dec 17 2018 09:22:12) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.0-2+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
Re: How to Install PHP 7.3 in Ubuntu 16.04
SpoilerShow
leors wrote: ↑Fri Jan 11, 2019 2:38 amInstall the software-properties-common and python-software-properties packagesadd the Ondřej PPACode: Select all
sudo apt install software-properties-common python-software-properties
end then update your sourcesCode: Select all
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
We can install PHP 7.3 with the following commandCode: Select all
apt update
To check if PHP 7.3 is installed on your server, use the command belowCode: Select all
sudo apt install php7.3 php7.3-cli php7.3-common
OutputCode: Select all
php -v
PHP 7.3.0-2+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Dec 17 2018 09:22:12) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.0-2+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies