• Compute

    Configure a popular Linux OS or use popular developer Tools

  • Cloud hosting
    Cloud hosting

    Host a VPS in the Cloud in seconds

  • Collaborate, CMS, CRM`s
    Collaborate, CMS, CRM`s

    Collaborate with these popular CMS, CRM & collaboration tools

  • Database & E-Commerce
    Database & E-Commerce

    Create a database or an E-Commerce environment in seconds

How to: Install PHP 7.3 on Ubuntu 18.04/19.04


In this guide, we will cover how to install PHP 7.3 on Ubuntu 18.04/19.04. As always we are going to make sure we're up to date.

sudo apt update && sudo apt upgrade

Next, we will edit our apt sources list with nano and include the two lines starting with deb below.

sudo nano /etc/apt/sources.list

deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu bionic main

Once that is saved, we will go ahead and install software-properties-common. Followed by adding the PHP repository, then updating and upgrading again so our package manager can see the newly listed packages. Then lastly we will install PHP 7.3 and verify the version.

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.3

php -v

Congratulations, you've installed PHP 7.3 on your Ubuntu Linux VPS.

Join our Private Discord Chat to chat with, as well as find community assistance from other Verified SkySilk Users: https://invite.gg/SkySilk  


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.