{"id":6309,"date":"2023-01-09T13:05:14","date_gmt":"2023-01-09T12:05:14","guid":{"rendered":"https:\/\/blog.simply.com\/?p=6309"},"modified":"2023-01-09T13:05:15","modified_gmt":"2023-01-09T12:05:15","slug":"everything-you-need-to-know-about-php-8","status":"publish","type":"post","link":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/","title":{"rendered":"Everything you need to know about PHP 8"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"378\" src=\"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png\" alt=\"\" class=\"wp-image-6314\" srcset=\"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png 786w, https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8-300x144.png 300w, https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8-150x72.png 150w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You may have noticed that several hosting companies that offer web hosting have started advertising that you can use PHP 8 with them. But is PHP 8 something you should be aware of, and what impact could it have on your website?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There may be several good reasons to update your WordPress or Joomla site to use PHP 8.0. Among other things, it helps to increase the speed of your website. In this blog post, we dive into what else the new PHP update will mean for your website.<\/p>\n\n\n\n<!--more-->\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#What-is-PHP\">What is PHP?<\/a><\/li>\n\n\n\n<li><a href=\"#What-is-the-difference-between-PHP-7-and-PHP-8\">What is the difference between PHP 7 and PHP 8?<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Will-my-website-be-faster-if-I-update-to-PHP-8\">Will my website be faster if I update to PHP 8?<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#Do-I-need-to-update-to-PHP-8\">Do I need to update to PHP 8?<\/a><\/li>\n\n\n\n<li><a href=\"#How-do-I-manually-update-WordPress-to-PHP-8\">How do I manually update WordPress to PHP 8?<\/a><\/li>\n\n\n\n<li><a href=\"#PHP-8-FAQ\">PHP 8 FAQ<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"What-is-PHP\">What is PHP?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">PHP is an open source programming language consisting of &#8220;server-side scripting&#8221;, which is widely used for web development. PHP is an important language for the WordPress community because much of the core WordPress software is written in it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/w3techs.com\/technologies\/details\/pl-php\">According to W3 Techs, PHP is used by 77.5<\/a>% of all websites worldwide. Even if you&#8217;re not a programmer, if you have your own website, you&#8217;re probably using PHP. If your website is made in WordPress or Joomla, these are two systems that use PHP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"What-is-the-difference-between-PHP-7-and-PHP-8\">What is the difference between PHP 7 and PHP 8?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At first glance, the difference between PHP 7 and PHP 8 is not very big. Certainly not if you are not a programmer and are familiar with the many features that have been added.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The function and task of PHP itself is the same in PHP 8.0 as it has been in the previous PHP versions. Where you as a regular user will primarily notice a difference will be the speed of your site. Among other things, the new PHP version 8 comes with a number of optimizations to the way your site handles requests.<\/p>\n\n\n\n<div class=\"wp-block-group has-white-color has-text-color has-background\" style=\"background-color:#0a1d2e\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">FACTS &#8211; What does request mean?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you visit a website, your PC or mobile executes a request to the website&#8217;s web server. A request is the communication between your browser and a web server that provides the user with the requested page and its content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a web server receives a request from a client (such as a PC or mobile), it will retrieve the requested material and display it on the user&#8217;s screen. Each time a request is made from the client, the server executes each request, resulting in the requested page, images or interactive features being loaded.<\/p>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Will-my-website-be-faster-if-I-update-to-PHP-8\">Will my website be faster if I update to PHP 8?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The loading time of a WordPress website is one of the things that PHP 8.0 noticeably improves and optimizes. The amount of requests that PHP 8 can handle is higher than in the previous versions. The faster your site can handle a request, the faster your visitors will be able to load your site.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On a new WordPress installation with PHP 7.4, the site can handle 110.24 req\/sec. In comparison, PHP 8.1 can handle 163.43 req\/sec. This means that PHP 8.1 is about 50% faster.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Do-I-need-to-update-to-PHP-8\">Do I need to update to PHP 8?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At Simply.com, we recommend that you use the PHP version that our engineers have enabled by default on the web server. Our technicians continually assess which PHP version is most stable with various CMS systems such as WordPress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply.com has no plans to remove or stop offering PHP 7.4, just as we still offer various other PHP 7 versions (and even PHP 5.6).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply.com article &#8220;About PHP 7.4 end-of-life&#8221;<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Simply.com has no plans to remove or stop offering PHP 7.4, just as we still offer various other PHP 7 versions (and even PHP 5.6).<\/p>\n<cite><a href=\"https:\/\/blog.simply.com\/2022\/php74-eol\/\">Simply.com article &#8220;About PHP 7.4 end-of-life&#8221;<\/a><\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to use an older version of PHP, you can manually customize the PHP version on your web hosting. On our support page, you can read our <a href=\"https:\/\/www.simply.com\/en\/support\/faq\/50\/503\/\">guide to changing the PHP version<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-do-I-manually-update-WordPress-to-PHP-8\">How do I manually update WordPress to PHP 8?<\/h2>\n\n\n\n<div class=\"schema-how-to wp-block-yoast-how-to-block\"><p class=\"schema-how-to-description\">Just like any other electronics and IT that you use on a daily basis, PHP also needs to be updated. By updating the PHP version, you increase the security of the website and get access to the latest features.<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1672905520140\"><strong class=\"schema-how-to-step-name\">Login to your Simply.com control panel<\/strong> <p class=\"schema-how-to-step-text\"><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1672905538543\"><strong class=\"schema-how-to-step-name\">Open the File Manager<\/strong> <p class=\"schema-how-to-step-text\"><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1672905543693\"><strong class=\"schema-how-to-step-name\">Open the website folder<\/strong> <p class=\"schema-how-to-step-text\">If you only have a <strong>webhost<\/strong>, open the public_html folder.<br \/>If it is a <strong>domain alias<\/strong> you want to change the PHP version on, open the folder for your domain alias.<\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1672905566071\"><strong class=\"schema-how-to-step-name\">Open the .htaccess file<\/strong> <p class=\"schema-how-to-step-text\"><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1672905589625\"><strong class=\"schema-how-to-step-name\">Insert PHP 8 into .htaccess<\/strong> <p class=\"schema-how-to-step-text\">If you want your web space to always use PHP 8<br \/><code>AddType application\/x-httpd-php80 .php<\/code><br \/>\u00a0<br \/>If you want your webhost to always use the latest PHP version<br \/><code>AddType application\/x-httpd-php-latest .php<\/code><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1672905627323\"><strong class=\"schema-how-to-step-name\">Save the change<\/strong> <p class=\"schema-how-to-step-text\">And like that your WordPress site is now running PHP 8.0<\/p> <\/li><\/ol><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"FAQ-PHP-8\">FAQ &#8211; PHP 8<\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1672905648735\"><strong class=\"schema-faq-question\">What is PHP?<\/strong> <p class=\"schema-faq-answer\">PHP is a popular open source programming language that enables developers to create dynamic websites and web applications. PHP is used to develop some of the world&#8217;s most popular website systems &#8211; including WordPress and Joomla.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1672905657415\"><strong class=\"schema-faq-question\">Should I upgrade to PHP 8?<\/strong> <p class=\"schema-faq-answer\">There is no one definitive answer to whether you should upgrade to PHP 8.0. The vast majority will find that their website will be noticeably faster by PHP 8. However, there is no guarantee that upgrading to PHP 8 will result in a faster website. Before making any decisions, it is important to consider your specific needs and requirements.<br \/><br \/>We recommend that you check whether your plugins, themes and generally WordPress are updated to the latest version and compatible with PHP 8. This is essential before upgrading to PHP 8.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1672905673933\"><strong class=\"schema-faq-question\">Which providers offer PHP 8 web hosting?<\/strong> <p class=\"schema-faq-answer\">PHP 8 is becoming widely used by the vast majority of hosting providers. Some even force their users to switch to the new version, while others simply allow their customers to use it if they prefer PHP 7.<br \/>\u00a0<br \/>At Simply.com, you have the option to choose exactly the PHP version that you prefer. You can see all the <a href=\"https:\/\/www.simply.com\/en\/support\/faq\/50\/503\/\">PHP versions we support on our FAQ page.<\/a><\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1672905696741\"><strong class=\"schema-faq-question\">What do I do if my website does not support PHP 8?<\/strong> <p class=\"schema-faq-answer\">As a general rule, we recommend that you always update your website. So that it can follow our standard PHP setup.<br \/>\u00a0<br \/>Are you using an older CMS system, or have you coded your website yourself?<br \/>There may be various reasons not to choose the latest PHP version. Fortunately, you are free to choose your PHP version, so if your website prefers PHP 5.3, you can use it.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>You may have noticed that several hosting companies that offer web hosting have started advertising that you can use PHP 8 with them. But is PHP 8 something you should be aware of, and what impact could it have on your website? There may be several good reasons to update your WordPress or Joomla site &hellip; <a href=\"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Everything you need to know about PHP 8&#8221;<\/span><\/a><\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[135],"tags":[],"class_list":["post-6309","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Everything you need to know about PHP 8 - Simply.com blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Everything you need to know about PHP 8 - Simply.com blog\" \/>\n<meta property=\"og:description\" content=\"You may have noticed that several hosting companies that offer web hosting have started advertising that you can use PHP 8 with them. But is PHP 8 something you should be aware of, and what impact could it have on your website? There may be several good reasons to update your WordPress or Joomla site &hellip; Continue reading &quot;Everything you need to know about PHP 8&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/\" \/>\n<meta property=\"og:site_name\" content=\"Simply.com blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/simplycom\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-09T12:05:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-09T12:05:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png\" \/>\n<meta name=\"author\" content=\"Victor Pahuus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@simplydotcom\" \/>\n<meta name=\"twitter:site\" content=\"@simplydotcom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Victor Pahuus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/\"},\"author\":{\"name\":\"Victor Pahuus\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#\\\/schema\\\/person\\\/3fa8776480936a8662750deeb9dd3c7a\"},\"headline\":\"Everything you need to know about PHP 8\",\"datePublished\":\"2023-01-09T12:05:14+00:00\",\"dateModified\":\"2023-01-09T12:05:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/\"},\"wordCount\":1065,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.simply.com\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Everything-you-need-to-know-about-PHP-8.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/\",\"name\":\"Everything you need to know about PHP 8 - Simply.com blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.simply.com\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Everything-you-need-to-know-about-PHP-8.png\",\"datePublished\":\"2023-01-09T12:05:14+00:00\",\"dateModified\":\"2023-01-09T12:05:15+00:00\",\"mainEntity\":[{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905648735\"},{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905657415\"},{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905673933\"},{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905696741\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Everything-you-need-to-know-about-PHP-8.png\",\"contentUrl\":\"https:\\\/\\\/blog.simply.com\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Everything-you-need-to-know-about-PHP-8.png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/\",\"name\":\"Simply.com blog\",\"description\":\"F\u00e5 de seneste nyheder om dom\u00e6ner og webhoteller her.\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.simply.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#organization\",\"name\":\"Simply.com\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/simply-logo-opengraph-wide.png\",\"contentUrl\":\"https:\\\/\\\/blog.simply.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/simply-logo-opengraph-wide.png\",\"width\":1200,\"height\":630,\"caption\":\"Simply.com\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/simplycom\",\"https:\\\/\\\/x.com\\\/simplydotcom\",\"https:\\\/\\\/www.linkedin.com\\\/simplycom\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/#\\\/schema\\\/person\\\/3fa8776480936a8662750deeb9dd3c7a\",\"name\":\"Victor Pahuus\",\"sameAs\":[\"https:\\\/\\\/victorpahuus.dk\"]},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905648735\",\"position\":1,\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905648735\",\"name\":\"What is PHP?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"PHP is a popular open source programming language that enables developers to create dynamic websites and web applications. PHP is used to develop some of the world's most popular website systems - including WordPress and Joomla.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905657415\",\"position\":2,\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905657415\",\"name\":\"Should I upgrade to PHP 8?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"There is no one definitive answer to whether you should upgrade to PHP 8.0. The vast majority will find that their website will be noticeably faster by PHP 8. However, there is no guarantee that upgrading to PHP 8 will result in a faster website. Before making any decisions, it is important to consider your specific needs and requirements.<br\\\/><br\\\/>We recommend that you check whether your plugins, themes and generally WordPress are updated to the latest version and compatible with PHP 8. This is essential before upgrading to PHP 8.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905673933\",\"position\":3,\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905673933\",\"name\":\"Which providers offer PHP 8 web hosting?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"PHP 8 is becoming widely used by the vast majority of hosting providers. Some even force their users to switch to the new version, while others simply allow their customers to use it if they prefer PHP 7.<br\\\/>\u00a0<br\\\/>At Simply.com, you have the option to choose exactly the PHP version that you prefer. You can see all the <a href=\\\"https:\\\/\\\/www.simply.com\\\/en\\\/support\\\/faq\\\/50\\\/503\\\/\\\">PHP versions we support on our FAQ page.<\\\/a>\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905696741\",\"position\":4,\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#faq-question-1672905696741\",\"name\":\"What do I do if my website does not support PHP 8?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"As a general rule, we recommend that you always update your website. So that it can follow our standard PHP setup.<br\\\/>\u00a0<br\\\/>Are you using an older CMS system, or have you coded your website yourself?<br\\\/>There may be various reasons not to choose the latest PHP version. Fortunately, you are free to choose your PHP version, so if your website prefers PHP 5.3, you can use it.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#howto-1\",\"name\":\"Everything you need to know about PHP 8\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#article\"},\"description\":\"Just like any other electronics and IT that you use on a daily basis, PHP also needs to be updated. By updating the PHP version, you increase the security of the website and get access to the latest features.\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#how-to-step-1672905520140\",\"text\":\"Login to your Simply.com control panel\"},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#how-to-step-1672905538543\",\"text\":\"Open the File Manager\"},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#how-to-step-1672905543693\",\"name\":\"Open the website folder\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"If you only have a webhost, open the public_html folder.If it is a domain alias you want to change the PHP version on, open the folder for your domain alias.\"}]},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#how-to-step-1672905566071\",\"text\":\"Open the .htaccess file\"},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#how-to-step-1672905589625\",\"name\":\"Insert PHP 8 into .htaccess\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"If you want your web space to always use PHP 8AddType application\\\/x-httpd-php80 .php\u00a0If you want your webhost to always use the latest PHP versionAddType application\\\/x-httpd-php-latest .php\"}]},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/blog.simply.com\\\/en\\\/2023\\\/everything-you-need-to-know-about-php-8\\\/#how-to-step-1672905627323\",\"name\":\"Save the change\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"And like that your WordPress site is now running PHP 8.0\"}]}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Everything you need to know about PHP 8 - Simply.com blog","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:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/","og_locale":"en_US","og_type":"article","og_title":"Everything you need to know about PHP 8 - Simply.com blog","og_description":"You may have noticed that several hosting companies that offer web hosting have started advertising that you can use PHP 8 with them. But is PHP 8 something you should be aware of, and what impact could it have on your website? There may be several good reasons to update your WordPress or Joomla site &hellip; Continue reading \"Everything you need to know about PHP 8\"","og_url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/","og_site_name":"Simply.com blog","article_publisher":"https:\/\/www.facebook.com\/simplycom","article_published_time":"2023-01-09T12:05:14+00:00","article_modified_time":"2023-01-09T12:05:15+00:00","og_image":[{"url":"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png","type":"","width":"","height":""}],"author":"Victor Pahuus","twitter_card":"summary_large_image","twitter_creator":"@simplydotcom","twitter_site":"@simplydotcom","twitter_misc":{"Written by":"Victor Pahuus","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#article","isPartOf":{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/"},"author":{"name":"Victor Pahuus","@id":"https:\/\/blog.simply.com\/#\/schema\/person\/3fa8776480936a8662750deeb9dd3c7a"},"headline":"Everything you need to know about PHP 8","datePublished":"2023-01-09T12:05:14+00:00","dateModified":"2023-01-09T12:05:15+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/"},"wordCount":1065,"commentCount":0,"publisher":{"@id":"https:\/\/blog.simply.com\/#organization"},"image":{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/","url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/","name":"Everything you need to know about PHP 8 - Simply.com blog","isPartOf":{"@id":"https:\/\/blog.simply.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#primaryimage"},"image":{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png","datePublished":"2023-01-09T12:05:14+00:00","dateModified":"2023-01-09T12:05:15+00:00","mainEntity":[{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905648735"},{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905657415"},{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905673933"},{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905696741"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#primaryimage","url":"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png","contentUrl":"https:\/\/blog.simply.com\/wp-content\/uploads\/2023\/01\/Everything-you-need-to-know-about-PHP-8.png"},{"@type":"WebSite","@id":"https:\/\/blog.simply.com\/#website","url":"https:\/\/blog.simply.com\/","name":"Simply.com blog","description":"F\u00e5 de seneste nyheder om dom\u00e6ner og webhoteller her.","publisher":{"@id":"https:\/\/blog.simply.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.simply.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.simply.com\/#organization","name":"Simply.com","url":"https:\/\/blog.simply.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.simply.com\/#\/schema\/logo\/image\/","url":"https:\/\/blog.simply.com\/wp-content\/uploads\/2022\/11\/simply-logo-opengraph-wide.png","contentUrl":"https:\/\/blog.simply.com\/wp-content\/uploads\/2022\/11\/simply-logo-opengraph-wide.png","width":1200,"height":630,"caption":"Simply.com"},"image":{"@id":"https:\/\/blog.simply.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/simplycom","https:\/\/x.com\/simplydotcom","https:\/\/www.linkedin.com\/simplycom"]},{"@type":"Person","@id":"https:\/\/blog.simply.com\/#\/schema\/person\/3fa8776480936a8662750deeb9dd3c7a","name":"Victor Pahuus","sameAs":["https:\/\/victorpahuus.dk"]},{"@type":"Question","@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905648735","position":1,"url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905648735","name":"What is PHP?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"PHP is a popular open source programming language that enables developers to create dynamic websites and web applications. PHP is used to develop some of the world's most popular website systems - including WordPress and Joomla.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905657415","position":2,"url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905657415","name":"Should I upgrade to PHP 8?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"There is no one definitive answer to whether you should upgrade to PHP 8.0. The vast majority will find that their website will be noticeably faster by PHP 8. However, there is no guarantee that upgrading to PHP 8 will result in a faster website. Before making any decisions, it is important to consider your specific needs and requirements.<br\/><br\/>We recommend that you check whether your plugins, themes and generally WordPress are updated to the latest version and compatible with PHP 8. This is essential before upgrading to PHP 8.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905673933","position":3,"url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905673933","name":"Which providers offer PHP 8 web hosting?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"PHP 8 is becoming widely used by the vast majority of hosting providers. Some even force their users to switch to the new version, while others simply allow their customers to use it if they prefer PHP 7.<br\/>\u00a0<br\/>At Simply.com, you have the option to choose exactly the PHP version that you prefer. You can see all the <a href=\"https:\/\/www.simply.com\/en\/support\/faq\/50\/503\/\">PHP versions we support on our FAQ page.<\/a>","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905696741","position":4,"url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#faq-question-1672905696741","name":"What do I do if my website does not support PHP 8?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"As a general rule, we recommend that you always update your website. So that it can follow our standard PHP setup.<br\/>\u00a0<br\/>Are you using an older CMS system, or have you coded your website yourself?<br\/>There may be various reasons not to choose the latest PHP version. Fortunately, you are free to choose your PHP version, so if your website prefers PHP 5.3, you can use it.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"HowTo","@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#howto-1","name":"Everything you need to know about PHP 8","mainEntityOfPage":{"@id":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#article"},"description":"Just like any other electronics and IT that you use on a daily basis, PHP also needs to be updated. By updating the PHP version, you increase the security of the website and get access to the latest features.","step":[{"@type":"HowToStep","url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#how-to-step-1672905520140","text":"Login to your Simply.com control panel"},{"@type":"HowToStep","url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#how-to-step-1672905538543","text":"Open the File Manager"},{"@type":"HowToStep","url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#how-to-step-1672905543693","name":"Open the website folder","itemListElement":[{"@type":"HowToDirection","text":"If you only have a webhost, open the public_html folder.If it is a domain alias you want to change the PHP version on, open the folder for your domain alias."}]},{"@type":"HowToStep","url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#how-to-step-1672905566071","text":"Open the .htaccess file"},{"@type":"HowToStep","url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#how-to-step-1672905589625","name":"Insert PHP 8 into .htaccess","itemListElement":[{"@type":"HowToDirection","text":"If you want your web space to always use PHP 8AddType application\/x-httpd-php80 .php\u00a0If you want your webhost to always use the latest PHP versionAddType application\/x-httpd-php-latest .php"}]},{"@type":"HowToStep","url":"https:\/\/blog.simply.com\/en\/2023\/everything-you-need-to-know-about-php-8\/#how-to-step-1672905627323","name":"Save the change","itemListElement":[{"@type":"HowToDirection","text":"And like that your WordPress site is now running PHP 8.0"}]}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/posts\/6309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/comments?post=6309"}],"version-history":[{"count":5,"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/posts\/6309\/revisions"}],"predecessor-version":[{"id":6318,"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/posts\/6309\/revisions\/6318"}],"wp:attachment":[{"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/media?parent=6309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/categories?post=6309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.simply.com\/en\/wp-json\/wp\/v2\/tags?post=6309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}