• Compute
    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

Modified on Mon, Mar 9, 2020 at 4:36 PM

 

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  


CLICK TO DEPLOY AN UBUNTU LINUX VPS


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article