{"id":670,"date":"2018-09-19T02:58:12","date_gmt":"2018-09-19T07:58:12","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=670"},"modified":"2021-02-14T16:38:41","modified_gmt":"2021-02-14T22:38:41","slug":"how-to-install-php-7-2-on-debian-9","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/","title":{"rendered":"How to Install PHP 7.2 on Debian 9"},"content":{"rendered":"<div id=\"linux-942476592\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release has new features and numerous improvements such as:<\/p>\n<p><!--more--><\/p>\n<ul>\n<li>Convert numeric keys in object\/array casts<\/li>\n<li>Counting of non-countable objects<\/li>\n<li>Object typehint<\/li>\n<li>HashContext as Object<\/li>\n<li>Argon2 in the password hash<\/li>\n<li>Improve TLS constants to sane values<\/li>\n<li>Mcrypt extension removed<\/li>\n<li>New sodium extension<\/li>\n<\/ul>\n<p>As you can see above, PHP is no longer using Bcrypt algorithm as a password hash, it is now using Argon2, it\u00a0is a modern algorithm for securely hashing passwords. This is the most significant changes, it makes PHP more secure. Argon2 beat 23 other algorithms to win the Password Hashing Competition in 2015\u00a0and PHP 7.2 introduces as a more secure substitute for the Bcrypt algorithm. However, Bcrypt is still considered a strong hash, especially if compared to its predecessors, md5 and sha1. Bcrypt is still an acceptable hash for passwords. There&#8217;s no need to switch if you don&#8217;t want to.<\/p>\n<p>The other major change in PHP 7.2 was the removal of the old Mcrypt cryptographic library (hasn&#8217;t been updated since 2007)\u00a0 from the PHP core and the addition of Libsodium, a more modern alternative.<\/p>\n<h2>Requirements<\/h2>\n<p>\u2013 Debian 9 VPS<br \/>\n\u2013 SSH access with root privileges to your Debian 9 server<\/p>\n<p>Installing PHP 7.2 <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">on a Debian 9 VPS<\/a> is a fairly easy task, just follow the steps below and you should have it done in a few minutes.<\/p>\n<h2>Step 1. Login to your server<\/h2>\n<p>First, let&#8217;s log in to your server via SSH:<\/p>\n<pre>ssh root@IP_Address -p Port_number<\/pre>\n<p>Then, check your existing PHP version, the default PHP version in Debian 9 is PHP 7.0<\/p>\n<pre>php -v<\/pre>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-676\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/configure-php-7.2-on-debian-9.jpg\" alt=\"configure php 7.2 on debian 9\" width=\"600\" height=\"86\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/configure-php-7.2-on-debian-9.jpg 600w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/configure-php-7.2-on-debian-9-300x43.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Remember, before you do anything else, always issue apt update to ensure that your Debian system is using the latest available packages.<\/p>\n<pre>apt update &amp;&amp; apt upgrade<\/pre>\n<h2>Step 2: Enable PPA<\/h2>\n<p>Let&#8217;s invoke the following commands to install the required packages prior to issuing commands to install PHP 7.2. Then, import the packages signing key and configure PPA for the PHP packages on your Debian 9 system.<\/p>\n<pre>apt install apt-transport-https lsb-release ca-certificates\r\nwget -O \/etc\/apt\/trusted.gpg.d\/php.gpg https:\/\/packages.sury.org\/php\/apt.gpg\r\necho \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" &gt; \/etc\/apt\/sources.list.d\/php.list\r\napt update\r\n<\/pre>\n<h2>Step 3: Install PHP 7.2<\/h2>\n<p>Once you enable the PPA you can proceed and install PHP 7.2 using the following command:<\/p>\n<pre>apt install php7.2<\/pre>\n<h2>Step 4: Search and install specific PHP 7.2 modules<\/h2>\n<p>This will also install the required dependencies too. However, if you want to install a specific PHP7.2 module, you can search if it is available using the following command:<\/p>\n<pre>apt search php7.2<\/pre>\n<h2>Step 5: Install most commonly used modules<\/h2>\n<p>To install PHP7.2 including some of the most commonly used modules you can use the following command:<\/p>\n<pre>apt install php7.2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-mysql php7.2-zip php7.2-fpm php7.2-mbstring<\/pre>\n<h2>Step 6: Check the installation<\/h2>\n<pre>php -v<\/pre>\n<p><img decoding=\"async\" class=\"size-full wp-image-675 alignnone\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/instaalling-php-7.2-on-debian-9.jpg\" alt=\"instaalling php 7.2 on debian 9\" width=\"700\" height=\"73\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/instaalling-php-7.2-on-debian-9.jpg 700w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/instaalling-php-7.2-on-debian-9-300x31.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>Now, PHP 7.2 has been installed on your Debian 9 system, and if we want to change the default PHP version to PHP 7.2 that is used on your web server, we need to disable the old PHP and enable the newly installed one.<\/p>\n<h3>Disable php 7.0<\/h3>\n<pre>a2dismod php7.0\r\nsystemctl restart apache2\r\n<\/pre>\n<h3>Enable php 7.2<\/h3>\n<pre>a2enmod php7.2\r\nsystemctl restart apache2\r\n<\/pre>\n<p>Let&#8217;s create a phpinfo file<\/p>\n<pre>nano \/var\/www\/html\/phpinfo.php<\/pre>\n<p>Append the following lines to the file, then save and exit nano<\/p>\n<pre>&lt;?php\r\nphpinfo();\r\n?&gt;\r\n<\/pre>\n<p>Now, open http:\/\/your_ip\/phpinfo.php on your preferred web browser and you will see that apache is now using PHP 7.2<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-677\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/php-7.2-on-debian-9-installation.jpg\" alt=\"php 7.2 on debian 9 installation\" width=\"700\" height=\"303\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/php-7.2-on-debian-9-installation.jpg 700w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/php-7.2-on-debian-9-installation-300x130.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-673\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/Install-PHP-7.2-on-Debian-9.jpg\" alt=\"How to Install PHP 7.2 on Debian 9\" width=\"216\" height=\"102\" \/>Please note that you can issue the commands above with apt or apt-get, it&#8217;s only a matter of choice. For example, you can either issue &#8220;apt update&#8221; or &#8220;apt-get update&#8221;, &#8220;apt search&#8221; or &#8220;apt-cache search&#8221;. However, apt is the command that is being recommended by Debian, the mother of Linux distributions like Ubuntu, ElementaryOS, Linux Mint, etc. It provides the necessary option to manage the packages. Also, it is easier to use with its fewer but easy to remember options as well.<\/p>\n<hr \/>\n<p>Of course, you don&#8217;t have to Install PHP 7.2 on Debian 9 yourself. If you use one of our Debian VPS Hosting services in which case, our technical support team will help you. They are available 24\u00d77, simply submit a support ticket and they will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post, on how to Install PHP 7.2 on Debian 9, please share it with your friends on the social networks using the buttons below or simply leave a comment. Thanks.<\/p><div id=\"linux-4148897941\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release has new features and numerous improvements such as:<\/p>\n","protected":false},"author":1,"featured_media":672,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[81,118],"class_list":["post-670","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-debian-9","tag-php-7-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install PHP 7.2 on Debian 9 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install PHP 7.2 on Debian 9 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-19T07:58:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-14T22:38:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install PHP 7.2 on Debian 9\",\"datePublished\":\"2018-09-19T07:58:12+00:00\",\"dateModified\":\"2021-02-14T22:38:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/\"},\"wordCount\":666,\"commentCount\":10,\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg\",\"keywords\":[\"debian 9\",\"php 7.2\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/\",\"name\":\"How to Install PHP 7.2 on Debian 9 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg\",\"datePublished\":\"2018-09-19T07:58:12+00:00\",\"dateModified\":\"2021-02-14T22:38:41+00:00\",\"author\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release\",\"breadcrumb\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg\",\"contentUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg\",\"width\":750,\"height\":410,\"caption\":\"How to Install PHP 7.2 on Debian 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/linuxhostsupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install PHP 7.2 on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install PHP 7.2 on Debian 9 | LinuxHostSupport","description":"In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release","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:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install PHP 7.2 on Debian 9 | LinuxHostSupport","og_description":"In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2018-09-19T07:58:12+00:00","article_modified_time":"2021-02-14T22:38:41+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install PHP 7.2 on Debian 9","datePublished":"2018-09-19T07:58:12+00:00","dateModified":"2021-02-14T22:38:41+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/"},"wordCount":666,"commentCount":10,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg","keywords":["debian 9","php 7.2"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/","name":"How to Install PHP 7.2 on Debian 9 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg","datePublished":"2018-09-19T07:58:12+00:00","dateModified":"2021-02-14T22:38:41+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this tutorial, we will show you how to install PHP 7.2 on Debian 9.\u00a0 PHP 7.2 has been officially released as of November 30th, 2017, and the release","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/09\/How-to-Install-PHP-7.2-on-Debian-9.jpg","width":750,"height":410,"caption":"How to Install PHP 7.2 on Debian 9"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-php-7-2-on-debian-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install PHP 7.2 on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=670"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/670\/revisions"}],"predecessor-version":[{"id":1365,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/670\/revisions\/1365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/672"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}