{"id":489,"date":"2019-08-28T18:21:56","date_gmt":"2019-08-28T12:51:56","guid":{"rendered":"https:\/\/www.itsupportwale.com\/blog\/?p=489"},"modified":"2026-02-17T15:56:04","modified_gmt":"2026-02-17T10:26:04","slug":"how-to-install-latest-php-7-3-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/","title":{"rendered":"How to Install Latest PHP 7.3 on Ubuntu 18.04"},"content":{"rendered":"\n<p>In this tutorial, we will learn How to Install Latest PHP 7.3 on Ubuntu 18.04.<\/p>\n\n\n\n<p>The latest current stable release of PHP is 7.3 which was released on 1 August 2019.  After one month of the release, Ubuntu default repositories still do not have the latest version of PHP. By default, Ubuntu 18.04 is having PHP 7.2 as the latest version of PHP.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>You can also check the <a href=\"https:\/\/www.php.net\/downloads.php\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Current Stable Release of PHP here<\/a>.<\/p><\/blockquote>\n\n\n\n<p>We are assuming that you already have Ubuntu 18.04 installed. If not then you can follow this tutorial for installing the Ubuntu 18.04.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><a href=\"https:\/\/itsupportwale.com\/blog\/ubuntu-18-04-lts-desktop-installation-with-screenshots\/\" target=\"_blank\" rel=\"noreferrer noopener\" label=\" (opens in a new tab)\">Ubuntu 18.04 LTS Desktop Installation with Screenshots<\/a><\/p><\/blockquote>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d7fbc6c5a54\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d7fbc6c5a54\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#1_Get_installed_version_of_PHP\" >1. Get installed version of PHP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#2_Add_the_PPA_for_latest_PHP\" >2. Add the PPA for latest PHP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#3_Install_PHP_73_on_Ubuntu_1804_and_Verify\" >3. Install PHP 7.3 on Ubuntu 18.04 and Verify<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#Summary\" >Summary :<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Get_installed_version_of_PHP\"><\/span>1. Get installed version of PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>So, At very first let&#8217;s check the currently installed version of PHP with the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@iswblog:~# php -v<\/code><\/pre>\n\n\n\n<p>You should have this type of output if PHP is installed in your system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP 7.2.15-0ubuntu0.18.04.1 (cli) (built: Feb  8 2019 14:54:22) ( NTS )\n Copyright (c) 1997-2018 The PHP Group\n Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies\n     with Zend OPcache v7.2.15-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Add_the_PPA_for_latest_PHP\"><\/span>2. Add the PPA for latest PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now we add PPA (Personal Package Archives) of the PHP for the latest stable version which is PHP 7.3. Let&#8217;s add the PPA with the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install software-properties-common\nsudo add-apt-repository ppa:ondrej\/php<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><a href=\"https:\/\/launchpad.net\/~ondrej\/+archive\/ubuntu\/php\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">You can get more info about ondrej\/PPA here<\/a>.<\/p><\/blockquote>\n\n\n\n<p>Now update the repositories for listing the new packages.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<p>You can also confirm that the latest PHP packages are added in the list. Check with the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@iswblog:~# apt list | grep php7.3<\/code><\/pre>\n\n\n\n<p>You should get a result like below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>libphp7.3-embed\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64\nphp7.3-bcmath\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64\nphp7.3-cgi\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64\nphp7.3-dba\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64\nphp7.3-dev\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64\nphp7.3-enchant\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64\nphp7.3-fpm\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64\nphp7.3-gmp\/bionic 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 amd64<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Install_PHP_73_on_Ubuntu_1804_and_Verify\"><\/span>3. Install PHP 7.3 on Ubuntu 18.04 and Verify<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Finally, Now you can install the PHP 7.3 Version. Install it by the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@iswblog:~# apt install php<\/code><\/pre>\n\n\n\n<p>If you want to install any extra module like php-gd or php-json you can install them using below commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@iswblog:~# apt install php7.3-gd php7.3-bcmath php7.3-json<\/code><\/pre>\n\n\n\n<p>So, Now let&#8217;s check our installation by the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>trifid@db3:~$ php -v\nPHP 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug  7 2019 09:52:12) ( NTS )\nCopyright (c) 1997-2018 The PHP Group\nZend Engine v3.3.8, Copyright (c) 1998-2018 Zend Technologies\n    with Zend OPcache v7.3.8-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies\n<\/code><\/pre>\n\n\n\n<p>You should get the above output. So, you have successfully installed the latest stable version of PHP in Ubuntu 18.04 LTS version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary :<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>PHP is one of the widely used programming language and nearly the most used language for web application development. So, it&#8217;s better to stay updated because it&#8217;s also having the dark past. In the tutorial, we see how we can install PHP 7.3 on Ubuntu 18.04 LTS. The installation procedure is the same for both the Ubuntu Desktop or Ubuntu Server.<\/p>\n\n\n\n<p>Thanks for Reading. Happy Learning !!!<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Recommended :  <a href=\"https:\/\/itsupportwale.com\/blog\/how-to-upgrade-to-python-3-7-on-ubuntu-18-10\/\" target=\"_blank\" rel=\"noreferrer noopener\" label=\" (opens in a new tab)\">How to upgrade to python 3.7 on Ubuntu 18.10<\/a><\/p><\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will learn How to Install Latest PHP 7.3 on Ubuntu 18.04. The latest current stable release of PHP is 7.3 which was released on 1 August 2019. After one month of the release, Ubuntu default repositories still do not have the latest version of PHP. By default, Ubuntu 18.04 is having &#8230; <a title=\"How to Install Latest PHP 7.3 on Ubuntu 18.04\" class=\"read-more\" href=\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\" aria-label=\"Read more  on How to Install Latest PHP 7.3 on Ubuntu 18.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":517,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2,7],"tags":[225,220,226,224,219,221,222,223,9,14,27,29],"class_list":["post-489","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-os","category-tutorials","category-ubuntu","tag-install-latast-stable-version-of-php","tag-install-php-7-3","tag-install-stable-php-7-3","tag-latest-php-on-ubuntu","tag-php-7-3","tag-php-7-3-installation","tag-php-7-3-on-ubuntu-18-04","tag-php-on-ubuntu","tag-ubuntu-18-04","tag-ubuntu-18-04-lts-bionic-beaver","tag-ubuntu-desktop","tag-ubuntu-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Latest PHP 7.3 on Ubuntu 18.04 - ITSupportWale<\/title>\n<meta name=\"description\" content=\"Latest Stable Version of PHP is 7.3 which is launched on 1 Aug 2019 and Ubuntu 18.04 comes with PHP 7.2. Here is how to get PHP 7.3 in Ubuntu 18.04.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Latest PHP 7.3 on Ubuntu 18.04\" \/>\n<meta property=\"og:description\" content=\"By default, Ubuntu 18.04 comes with PHP 7.2. Install the latest stable version of PHP that is PHP 7.3 in Stable Ubuntu 18.04 Bionic Beaver.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"ITSupportWale\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Itsupportwale-298547177495978\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-28T12:51:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-17T10:26:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Techie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install Latest PHP 7.3 on Ubuntu 18.04\" \/>\n<meta name=\"twitter:description\" content=\"By default, Ubuntu 18.04 comes with PHP 7.2. Install the latest stable version of PHP that is PHP 7.3 in Stable Ubuntu 18.04 Bionic Beaver.\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Techie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\"},\"author\":{\"name\":\"Techie\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d\"},\"headline\":\"How to Install Latest PHP 7.3 on Ubuntu 18.04\",\"datePublished\":\"2019-08-28T12:51:56+00:00\",\"dateModified\":\"2026-02-17T10:26:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\"},\"wordCount\":360,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg\",\"keywords\":[\"install latast stable version of php\",\"install php 7.3\",\"install stable php 7.3\",\"latest php on ubuntu\",\"PHP 7.3\",\"php 7.3 installation\",\"php 7.3 on ubuntu 18.04\",\"php on ubuntu\",\"ubuntu 18.04\",\"ubuntu 18.04 lts bionic beaver\",\"Ubuntu Desktop\",\"ubuntu tutorial\"],\"articleSection\":[\"Operating System\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\",\"url\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\",\"name\":\"How to Install Latest PHP 7.3 on Ubuntu 18.04 - ITSupportWale\",\"isPartOf\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg\",\"datePublished\":\"2019-08-28T12:51:56+00:00\",\"dateModified\":\"2026-02-17T10:26:04+00:00\",\"description\":\"Latest Stable Version of PHP is 7.3 which is launched on 1 Aug 2019 and Ubuntu 18.04 comes with PHP 7.2. Here is how to get PHP 7.3 in Ubuntu 18.04.\",\"breadcrumb\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage\",\"url\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg\",\"contentUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg\",\"width\":1200,\"height\":600,\"caption\":\"Install Latest PHP 7.3 on Ubuntu 18.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/itsupportwale.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Latest PHP 7.3 on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#website\",\"url\":\"https:\/\/itsupportwale.com\/blog\/\",\"name\":\"ITSupportWale\",\"description\":\"Tips, Tricks, Fixed-Errors, Tutorials &amp; Guides\",\"publisher\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/itsupportwale.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\",\"name\":\"itsupportwale\",\"url\":\"https:\/\/itsupportwale.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png\",\"contentUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png\",\"width\":1119,\"height\":144,\"caption\":\"itsupportwale\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Itsupportwale-298547177495978\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d\",\"name\":\"Techie\",\"sameAs\":[\"https:\/\/itsupportwale.com\",\"iswblogadmin\"],\"url\":\"https:\/\/itsupportwale.com\/blog\/author\/iswblogadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Latest PHP 7.3 on Ubuntu 18.04 - ITSupportWale","description":"Latest Stable Version of PHP is 7.3 which is launched on 1 Aug 2019 and Ubuntu 18.04 comes with PHP 7.2. Here is how to get PHP 7.3 in Ubuntu 18.04.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Latest PHP 7.3 on Ubuntu 18.04","og_description":"By default, Ubuntu 18.04 comes with PHP 7.2. Install the latest stable version of PHP that is PHP 7.3 in Stable Ubuntu 18.04 Bionic Beaver.","og_url":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/","og_site_name":"ITSupportWale","article_publisher":"https:\/\/www.facebook.com\/Itsupportwale-298547177495978","article_published_time":"2019-08-28T12:51:56+00:00","article_modified_time":"2026-02-17T10:26:04+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg","type":"image\/jpeg"}],"author":"Techie","twitter_card":"summary_large_image","twitter_title":"How to Install Latest PHP 7.3 on Ubuntu 18.04","twitter_description":"By default, Ubuntu 18.04 comes with PHP 7.2. Install the latest stable version of PHP that is PHP 7.3 in Stable Ubuntu 18.04 Bionic Beaver.","twitter_misc":{"Written by":"Techie","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/"},"author":{"name":"Techie","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d"},"headline":"How to Install Latest PHP 7.3 on Ubuntu 18.04","datePublished":"2019-08-28T12:51:56+00:00","dateModified":"2026-02-17T10:26:04+00:00","mainEntityOfPage":{"@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/"},"wordCount":360,"commentCount":1,"publisher":{"@id":"https:\/\/itsupportwale.com\/blog\/#organization"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg","keywords":["install latast stable version of php","install php 7.3","install stable php 7.3","latest php on ubuntu","PHP 7.3","php 7.3 installation","php 7.3 on ubuntu 18.04","php on ubuntu","ubuntu 18.04","ubuntu 18.04 lts bionic beaver","Ubuntu Desktop","ubuntu tutorial"],"articleSection":["Operating System","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/","url":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/","name":"How to Install Latest PHP 7.3 on Ubuntu 18.04 - ITSupportWale","isPartOf":{"@id":"https:\/\/itsupportwale.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg","datePublished":"2019-08-28T12:51:56+00:00","dateModified":"2026-02-17T10:26:04+00:00","description":"Latest Stable Version of PHP is 7.3 which is launched on 1 Aug 2019 and Ubuntu 18.04 comes with PHP 7.2. Here is how to get PHP 7.3 in Ubuntu 18.04.","breadcrumb":{"@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg","contentUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2019\/08\/Install-Latest-PHP-7.3-on-Ubuntu-18.04.jpg","width":1200,"height":600,"caption":"Install Latest PHP 7.3 on Ubuntu 18.04"},{"@type":"BreadcrumbList","@id":"https:\/\/itsupportwale.com\/blog\/how-to-install-latest-php-7-3-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/itsupportwale.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Latest PHP 7.3 on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/itsupportwale.com\/blog\/#website","url":"https:\/\/itsupportwale.com\/blog\/","name":"ITSupportWale","description":"Tips, Tricks, Fixed-Errors, Tutorials &amp; Guides","publisher":{"@id":"https:\/\/itsupportwale.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/itsupportwale.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/itsupportwale.com\/blog\/#organization","name":"itsupportwale","url":"https:\/\/itsupportwale.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png","contentUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png","width":1119,"height":144,"caption":"itsupportwale"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Itsupportwale-298547177495978"]},{"@type":"Person","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d","name":"Techie","sameAs":["https:\/\/itsupportwale.com","iswblogadmin"],"url":"https:\/\/itsupportwale.com\/blog\/author\/iswblogadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":3,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":4631,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts\/489\/revisions\/4631"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/media\/517"}],"wp:attachment":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/media?parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/categories?post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/tags?post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}