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 Web Server
  • Search

How to Install PHP 7.3 in Ubuntu 16.04

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
shahidirfan
Posts: 8
Joined: Sat Aug 20, 2016 6:14 am

How to Install PHP 7.3 in Ubuntu 16.04
  • Quote

Post by shahidirfan » Thu Dec 13, 2018 7:41 am

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

leors
Posts: 1
Joined: Tue Jan 08, 2019 1:16 am

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: How to Install PHP 7.3 in Ubuntu 16.04
  • Quote

Post by leors » Fri Jan 11, 2019 2:38 am

Install the software-properties-common and python-software-properties packages

Code: Select all

sudo apt install software-properties-common python-software-properties
add the Ondřej PPA

Code: Select all

sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
end then update your sources

Code: Select all

apt update
We can install PHP 7.3 with the following command

Code: Select all

sudo apt install php7.3 php7.3-cli php7.3-common
To check if PHP 7.3 is installed on your server, use the command below

Code: Select all

php -v
Output
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
Top

gemuz
Posts: 67
Joined: Mon Jun 04, 2018 9:44 am

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: How to Install PHP 7.3 in Ubuntu 16.04
  • Quote

Post by gemuz » Wed Feb 06, 2019 12:09 pm

SpoilerShow
leors wrote: ↑
Fri Jan 11, 2019 2:38 am
Install the software-properties-common and python-software-properties packages

Code: Select all

sudo apt install software-properties-common python-software-properties
add the Ondřej PPA

Code: Select all

sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
end then update your sources

Code: Select all

apt update
We can install PHP 7.3 with the following command

Code: Select all

sudo apt install php7.3 php7.3-cli php7.3-common
To check if PHP 7.3 is installed on your server, use the command below

Code: Select all

php -v
Output
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
After updating everything works?
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • 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