{"id":1109,"date":"2022-02-18T12:43:00","date_gmt":"2022-02-18T11:43:00","guid":{"rendered":"https:\/\/irg-net.com\/?p=1109"},"modified":"2022-02-10T16:57:52","modified_gmt":"2022-02-10T15:57:52","slug":"how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11","status":"publish","type":"post","link":"https:\/\/irg-net.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/","title":{"rendered":"How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11"},"content":{"rendered":"\n<p>In this article I am going to show you how I managed to update to PHP 8.1 for my WordPress Site. I am running this WordPress site on top of Debian 10. I had this notification on the WordPress dashboard telling that I should upgrade my PHP to the latest version. I was running PHP 7.3. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"427\" src=\"https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png?resize=1024%2C427&#038;ssl=1\" alt=\"\" class=\"wp-image-1110\" srcset=\"https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png?resize=300%2C125&amp;ssl=1 300w, https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png?resize=768%2C320&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As you notice on the picture above, PHP Update Required. Since I do not host my websites on a managed hosting provider, I had to do this PHP update manually. So in this article, you will find out how to manually upgrade your PHP installation to version 8.1.<\/p>\n\n\n\n<ul class=\"wp-block-list\" style=\"font-size:14px\"><li>Please don&#8217;t forget, if you are <strong>root<\/strong> you don&#8217;t need to use <strong>sudo<\/strong> in your commands. <\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\" style=\"font-size:14px\"><li>And always have a <strong>Backup <\/strong>of your Data! ( After my Desaster -.-&#8221; )<\/li><\/ul>\n\n\n\n<div style=\"height:34px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 1:<\/strong> First, let\u2019s check our PHP version installed on our system:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">php -v<\/code><\/pre>\n\n\n\n<p>The Output should be something like::<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">PHP 7.3.33-0 (cli) (built: Nov 19 2021 19:34:46) ( NTS ) \nCopyright (c) 1997-2021 The PHP Group Zend Engine v4.0.0, Copyright (c) 1998-2021 Zend Technologies \nwith Zend OPcache v7.3.33-0, Copyright (c) 1999-2021, by Zend Technologies <\/code><\/pre>\n\n\n\n<p>As you can see, my current PHP version is 7.3.33.<\/p>\n\n\n\n<div style=\"height:34px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 2:<\/strong> It is recommended to update the Debian system prior to the upgrade<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">sudo apt update &amp;&amp; apt upgrade<\/code><\/pre>\n\n\n\n<p>Maybe you will also need to reboot Debian.<\/p>\n\n\n\n<div style=\"height:34px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 3:<\/strong> Configure PHP 8.1 Repository &#8211; Run the following command to install some packages and download the gpg key for Sury repository.<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">sudo apt -y install lsb-release apt-transport-https ca-certificates\nsudo wget -O \/etc\/apt\/trusted.gpg.d\/php.gpg https:\/\/packages.sury.org\/php\/apt.gpg<\/code><\/pre>\n\n\n\n<p>Finally, use this command to add the repository<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">echo \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" | sudo tee \/etc\/apt\/sources.list.d\/php.list<\/code><\/pre>\n\n\n\n<div style=\"height:34px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 4:<\/strong> Update&#8230;..<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">sudo apt update -y<\/code><\/pre>\n\n\n\n<p>&#8230;.. and Upgrade the system<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">sudo apt upgrade -y<\/code><\/pre>\n\n\n\n<p>After the upgrade, the PHP 8.1 command pulls from the repository and updates your PHP version. If you enter php -v you will already see the new version.<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">root@irg-NET-wp01:~# php -v\nPHP 8.1.2 (cli) (built: Jan 27 2022 12:20:56) (NTS)\nCopyright (c) The PHP Group\nZend Engine v4.1.2, Copyright (c) Zend Technologies\n    with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies<\/code><\/pre>\n\n\n\n<p>But maybe not under WordPress <strong>Dashboard &gt;<\/strong> <strong>Tools &gt; Site Health &gt; Info &gt; Server<\/strong>. It could be that PHP 7.3 is still displayed there.<\/p>\n\n\n\n<div style=\"height:34px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 5:<\/strong> To fix this, we have to <strong>disable <\/strong>the <strong>PHP 7.3<\/strong> version, <strong>enable <\/strong>the<strong> PHP 8.1<\/strong> and restart <strong>apache2<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:14px\"><code lang=\"python\" class=\"language-python\">sudo a2dismod php7.3\nsudo a2enmod php8.1\nsudo systemctl restart apache2<\/code><\/pre>\n\n\n\n<p>And finally we will get the correct version in WordPress too<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"211\" src=\"https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/2022-01-28_012904.jpg?resize=1024%2C211&#038;ssl=1\" alt=\"\" class=\"wp-image-1113\" srcset=\"https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/2022-01-28_012904.jpg?resize=1024%2C211&amp;ssl=1 1024w, https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/2022-01-28_012904.jpg?resize=300%2C62&amp;ssl=1 300w, https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/2022-01-28_012904.jpg?resize=768%2C158&amp;ssl=1 768w, https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/2022-01-28_012904.jpg?w=1048&amp;ssl=1 1048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:34px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>And that&#8217;s it! If you have any questions please leave it in the comments. \ud83d\ude42<\/p>\n\n\n\n<div style=\"height:34px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this article I am going to show you how I managed to update to PHP 8.1 for my WordPress Site. I am running this WordPress site on top of Debian 10. I had this notification on the WordPress dashboard telling that I should upgrade my PHP to the latest version. I was running PHP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,1,22],"tags":[],"class_list":["post-1109","post","type-post","status-publish","format-standard","hentry","category-advancedtutorials","category-blog","category-debian"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11 - irgNET<\/title>\n<meta name=\"description\" content=\"In this article, you will find out how to manually upgrade your PHP installation to version 8.1.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11 - irgNET\" \/>\n<meta property=\"og:description\" content=\"In this article, you will find out how to manually upgrade your PHP installation to version 8.1.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/\" \/>\n<meta property=\"og:site_name\" content=\"irgNET\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-18T11:43:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png\" \/>\n<meta name=\"author\" content=\"H. Cemre G\u00fcnay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@irg_net\" \/>\n<meta name=\"twitter:site\" content=\"@irg_net\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"H. Cemre G\u00fcnay\" \/>\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:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/\"},\"author\":{\"name\":\"H. Cemre G\u00fcnay\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#\\\/schema\\\/person\\\/71b46e79e8c12bdc8e610214a6621a66\"},\"headline\":\"How to Update to PHP 8.1 for WordPress Site on Debian 10 \\\/ 11\",\"datePublished\":\"2022-02-18T11:43:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/\"},\"wordCount\":318,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/irg-net.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Screen-Shot-2020-09-20-at-19.36.30.png\",\"articleSection\":[\"Advanced Tutorials\",\"Blog\",\"Debian\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/\",\"url\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/\",\"name\":\"How to Update to PHP 8.1 for WordPress Site on Debian 10 \\\/ 11 - irgNET\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/irg-net.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Screen-Shot-2020-09-20-at-19.36.30.png\",\"datePublished\":\"2022-02-18T11:43:00+00:00\",\"description\":\"In this article, you will find out how to manually upgrade your PHP installation to version 8.1.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/irg-net.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Screen-Shot-2020-09-20-at-19.36.30.png?fit=1024%2C427&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/irg-net.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Screen-Shot-2020-09-20-at-19.36.30.png?fit=1024%2C427&ssl=1\",\"width\":1024,\"height\":427},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/index.php\\\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Update to PHP 8.1 for WordPress Site on Debian 10 \\\/ 11\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#website\",\"url\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/\",\"name\":\"irgNET\",\"description\":\"a virtual Knowledge Base\",\"publisher\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#organization\",\"name\":\"irg-NET\",\"url\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i2.wp.com\\\/irg-net.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/cropped-FINAL-Removed-Alpha.png?fit=2048%2C2048&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i2.wp.com\\\/irg-net.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/cropped-FINAL-Removed-Alpha.png?fit=2048%2C2048&ssl=1\",\"width\":2048,\"height\":2048,\"caption\":\"irg-NET\"},\"image\":{\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/irg_net\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/h-cemre-g\u00fcnay-2b61601b4\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC8GknhO5YMAkAoVxppu6aaQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/irgnet-ga3w6nfbvw.live-website.com\\\/#\\\/schema\\\/person\\\/71b46e79e8c12bdc8e610214a6621a66\",\"name\":\"H. Cemre G\u00fcnay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/15f5d90a0ec651cb5003605e56e8ba104f93bc11230562284db56c845df9d54d?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/15f5d90a0ec651cb5003605e56e8ba104f93bc11230562284db56c845df9d54d?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/15f5d90a0ec651cb5003605e56e8ba104f93bc11230562284db56c845df9d54d?s=96&r=g\",\"caption\":\"H. Cemre G\u00fcnay\"},\"sameAs\":[\"http:\\\/\\\/192.168.34.155\\\/wordpress\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11 - irgNET","description":"In this article, you will find out how to manually upgrade your PHP installation to version 8.1.","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:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/","og_locale":"en_US","og_type":"article","og_title":"How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11 - irgNET","og_description":"In this article, you will find out how to manually upgrade your PHP installation to version 8.1.","og_url":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/","og_site_name":"irgNET","article_published_time":"2022-02-18T11:43:00+00:00","og_image":[{"url":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png","type":"","width":"","height":""}],"author":"H. Cemre G\u00fcnay","twitter_card":"summary_large_image","twitter_creator":"@irg_net","twitter_site":"@irg_net","twitter_misc":{"Written by":"H. Cemre G\u00fcnay","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#article","isPartOf":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/"},"author":{"name":"H. Cemre G\u00fcnay","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#\/schema\/person\/71b46e79e8c12bdc8e610214a6621a66"},"headline":"How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11","datePublished":"2022-02-18T11:43:00+00:00","mainEntityOfPage":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/"},"wordCount":318,"commentCount":0,"publisher":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#organization"},"image":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#primaryimage"},"thumbnailUrl":"https:\/\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png","articleSection":["Advanced Tutorials","Blog","Debian"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/","url":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/","name":"How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11 - irgNET","isPartOf":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#primaryimage"},"image":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#primaryimage"},"thumbnailUrl":"https:\/\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png","datePublished":"2022-02-18T11:43:00+00:00","description":"In this article, you will find out how to manually upgrade your PHP installation to version 8.1.","breadcrumb":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#primaryimage","url":"https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png?fit=1024%2C427&ssl=1","contentUrl":"https:\/\/i0.wp.com\/irg-net.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2020-09-20-at-19.36.30.png?fit=1024%2C427&ssl=1","width":1024,"height":427},{"@type":"BreadcrumbList","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/index.php\/how-to-update-to-php-8-1-for-wordpress-site-on-debian-10-11\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/"},{"@type":"ListItem","position":2,"name":"How to Update to PHP 8.1 for WordPress Site on Debian 10 \/ 11"}]},{"@type":"WebSite","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#website","url":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/","name":"irgNET","description":"a virtual Knowledge Base","publisher":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#organization","name":"irg-NET","url":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#\/schema\/logo\/image\/","url":"https:\/\/i2.wp.com\/irg-net.com\/wp-content\/uploads\/2021\/06\/cropped-FINAL-Removed-Alpha.png?fit=2048%2C2048&ssl=1","contentUrl":"https:\/\/i2.wp.com\/irg-net.com\/wp-content\/uploads\/2021\/06\/cropped-FINAL-Removed-Alpha.png?fit=2048%2C2048&ssl=1","width":2048,"height":2048,"caption":"irg-NET"},"image":{"@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/irg_net","https:\/\/www.linkedin.com\/in\/h-cemre-g\u00fcnay-2b61601b4\/","https:\/\/www.youtube.com\/channel\/UC8GknhO5YMAkAoVxppu6aaQ"]},{"@type":"Person","@id":"https:\/\/irgnet-ga3w6nfbvw.live-website.com\/#\/schema\/person\/71b46e79e8c12bdc8e610214a6621a66","name":"H. Cemre G\u00fcnay","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/15f5d90a0ec651cb5003605e56e8ba104f93bc11230562284db56c845df9d54d?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/15f5d90a0ec651cb5003605e56e8ba104f93bc11230562284db56c845df9d54d?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/15f5d90a0ec651cb5003605e56e8ba104f93bc11230562284db56c845df9d54d?s=96&r=g","caption":"H. Cemre G\u00fcnay"},"sameAs":["http:\/\/192.168.34.155\/wordpress"]}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/posts\/1109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/comments?post=1109"}],"version-history":[{"count":8,"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/posts\/1109\/revisions"}],"predecessor-version":[{"id":1155,"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/posts\/1109\/revisions\/1155"}],"wp:attachment":[{"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/media?parent=1109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/categories?post=1109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irg-net.com\/index.php\/wp-json\/wp\/v2\/tags?post=1109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}