{"id":124081,"date":"2021-12-09T15:59:38","date_gmt":"2021-12-09T21:59:38","guid":{"rendered":"https:\/\/wpengine.com\/?p=124081"},"modified":"2025-05-14T13:33:16","modified_gmt":"2025-05-14T18:33:16","slug":"keep-up-to-date-latest-php-version","status":"publish","type":"post","link":"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/","title":{"rendered":"Keep Your PHP Up To Date With WP Engine"},"content":{"rendered":"\n<p>Enhancing the speed and security of your WordPress site is no easy task, but running an up-to-date version of PHP is a simple step that can yield immediate results.<\/p>\n\n\n\n<p>While the future of PHP has its <a href=\"https:\/\/dev.to\/joemoses33\/is-php-dead-1kgi\" target=\"_blank\" rel=\"noreferrer noopener\">share of naysayers<\/a>, this open source scripting language has remained a steady fixture on the server-side of WordPress development for nearly two decades. As newer versions have been released in recent years, PHP has arguably become even more ingrained as an indispensable framework for building sites and improving performance.&nbsp;&nbsp;<\/p>\n\n\n\n<p>At WP Engine, we work hard to ensure our customers have access to the latest versions of PHP, and we typically make those versions available as soon as we\u2019ve completed the necessary testing for all of our customers\u2019 sites.&nbsp;<\/p>\n\n\n\n<p>While PHP 7.4 was made available to all WP Engine customers after its release last year, we\u2019ve now made <a href=\"https:\/\/www.php.net\/releases\/8.0\/en.php\" target=\"_blank\" rel=\"noreferrer noopener\">PHP 8.0<\/a> available for all WP Engine customers who want to update.&nbsp;<\/p>\n\n\n\n<p>As of today, customers have the option to self-select PHP 8.0 as their version of PHP. Customers using PHP 7.4 can continue using it on existing sites, however, PHP 7.3 will be deprecated as of November 2021.&nbsp;<\/p>\n\n\n\n<p>Making the switch to PHP 8.0 is easy\u2014as always, our award-winning support team is ready to answer questions about upgrading, and if need be, they can help walk you through the process.&nbsp;<\/p>\n\n\n\n<p>As with any major PHP version release, there are some <a href=\"https:\/\/www.php.net\/manual\/en\/migration80.incompatible.php\" target=\"_blank\" rel=\"noreferrer noopener\">backwards compatibility issues<\/a> that may need to be tested before moving your sites to PHP 8.0.<\/p>\n\n\n\n<p>That said, performing the update on your own is a simple process\u2014<a href=\"https:\/\/identity.wpengine.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">just log in to your user portal<\/a> and follow the steps <a href=\"https:\/\/wpengine.com\/support\/php-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\">provided here<\/a>. Still have questions? <a href=\"https:\/\/identity.wpengine.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Login to your account<\/a> to contact support.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Are the Benefits of PHP 8.0?<\/strong><\/h2>\n\n\n\n<p>There are a number of improvements and new features that come with PHP 8.0, including:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/wiki.php.net\/rfc\/named_params\" target=\"_blank\" rel=\"noreferrer noopener\">Named arguments<\/a>&nbsp;<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/union_types_v2\" target=\"_blank\" rel=\"noreferrer noopener\">Union types<\/a>&nbsp;<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/stringable\" target=\"_blank\" rel=\"noreferrer noopener\">Stringable interface<\/a><\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/constructor_promotion\" target=\"_blank\" rel=\"noreferrer noopener\">Constructor property promotion&nbsp;<\/a><\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/match_expression_v2\" target=\"_blank\" rel=\"noreferrer noopener\">Match expression<\/a>&nbsp;<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/nullsafe_operator\" target=\"_blank\" rel=\"noreferrer noopener\">Nullsafe operator<\/a> (vs. null check conditions)&nbsp;<\/li><li><a href=\"https:\/\/medium.com\/jp-tech\/try-out-jit-compiler-with-php-8-0-a020e6aeb3e5\" target=\"_blank\" rel=\"noreferrer noopener\">JIT compilation<\/a><\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/arithmetic_operator_type_checks\" target=\"_blank\" rel=\"noreferrer noopener\">Type system<\/a> and <a href=\"https:\/\/wiki.php.net\/rfc\/consistent_type_errors\" target=\"_blank\" rel=\"noreferrer noopener\">error handling improvements<\/a><\/li><\/ul>\n\n\n\n<p>While in general, running an up-to-date version of PHP will speed up your site (as mentioned above, the upgrade to 7.4 last year saw a significant speed increase across our customers\u2019 sites) it also prevents bad actors from taking advantage of security vulnerabilities that could be lurking in older PHP versions.&nbsp;<\/p>\n\n\n\n<p>While no major security vulnerabilities have been flagged with PHP 7.4, it\u2019s considered a best practice to run the latest version of WordPress as well as up-to-date versions of components such as PHP.&nbsp;<\/p>\n\n\n\n<p>Just like any piece of software, older versions typically aren\u2019t actively supported, so they\u2019re not guaranteed to be patched as quickly as newer versions. By updating to PHP 8.0 today, you can rest easy knowing your WordPress site is running the most up-to-date and secure version of the scripting language.&nbsp;<\/p>\n\n\n\n<p>You\u2019ll also make sure your site is among the top-performing websites in the WordPress ecosystem. Despite the well-known benefits of running the latest PHP version, the majority of WordPress users today are still using PHP 7.3 or an earlier version\u2014and 20% of those users are still using a version of PHP 5.0!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"536\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2021\/12\/PHP-Versions-1024x536.png\" alt=\"\" class=\"wp-image-124082\" srcset=\"https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2021\/12\/PHP-Versions-1024x536.png 1024w, https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2021\/12\/PHP-Versions-540x283.png 540w, https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2021\/12\/PHP-Versions-768x402.png 768w, https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2021\/12\/PHP-Versions.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>Source: <\/em><a href=\"https:\/\/wordpress.org\/about\/stats\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>wordpress.org<\/em><\/a><\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Updating PHP for the Larger WordPress Community<\/strong><\/h2>\n\n\n\n<p>In addition to leaving performance and security improvements on the table, continued use of out-of-date PHP makes it harder for WordPress developers to utilize the latest version of PHP themselves\u2014doing so could alienate a large number of potential customers who are still using out of date versions<\/p>\n\n\n\n<p>Meanwhile, if the majority of WordPress users routinely updated their PHP versions, it would benefit WordPress and the WordPress community as a whole.<\/p>\n\n\n\n<p>This presents yet another reason why WP Engine is committed to offering the latest version of PHP to our customers. Doing so not only allows them to optimize their sites with the most up-to-date server-side language WordPress has to offer, it makes WordPress itself a better platform for all of its users.&nbsp;<\/p>\n\n\n\n<p><strong>Want to find out more about upgrading your version of PHP with WP Engine? Check out this <\/strong><a href=\"https:\/\/wpengine.com\/blog\/a-conversation-with-coywolf-updating-to-php-7-3-with-wp-engine\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>customer testimonial<\/strong><\/a><strong>, and as always, <a href=\"#sales\">chat with one of our experts<\/a> at any time for answers to all of your questions!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enhancing the speed and security of your WordPress site is no easy task, but running an up-to-date version of PHP is a simple step that can yield immediate results. While the future of PHP has its share of naysayers, this open source scripting language has remained a steady fixture on the server-side of WordPress development<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":200,"featured_media":124084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[372,5,408],"tags":[],"class_list":["post-124081","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-development","category-wordpress-updates"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Keeping You Up To Date With the Latest Version of PHP<\/title>\n<meta name=\"description\" content=\"We work hard to ensure our customers have access to the latest versions of PHP, which are made available as soon as all necessary testing is completed.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Keeping You Up To Date With the Latest Version of PHP\" \/>\n<meta property=\"og:description\" content=\"We work hard to ensure our customers have access to the latest versions of PHP, which are made available as soon as all necessary testing is completed.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-09T21:59:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-14T18:33:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2021\/12\/PHP8_Header.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abe Selig\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wpengine\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abe Selig\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/\",\"url\":\"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/\",\"name\":\"Keeping You Up To Date With the Latest Version of PHP\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/resources\/#website\"},\"datePublished\":\"2021-12-09T21:59:38+00:00\",\"dateModified\":\"2025-05-14T18:33:16+00:00\",\"author\":{\"@id\":\"https:\/\/wpengine.com\/resources\/#\/schema\/person\/b732a884dbf4917dcd15ce2e9fbd3652\"},\"description\":\"We work hard to ensure our customers have access to the latest versions of PHP, which are made available as soon as all necessary testing is completed.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Keep Your PHP Up To Date With WP Engine\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/resources\/#website\",\"url\":\"https:\/\/wpengine.com\/resources\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/resources\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/resources\/#\/schema\/person\/b732a884dbf4917dcd15ce2e9fbd3652\",\"name\":\"Abe Selig\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/resources\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g\",\"caption\":\"Abe Selig\"},\"description\":\"Abe Selig is a writer, amateur musician and accomplished inshore fisherman. He began his career as a journalist and now tells stories about technology and the ways it\u2019s helping businesses thrive. He is an Austin, TX native who has lived in New York City and traveled all around the world. You can reach him at abe.selig@wpengine.com.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Keeping You Up To Date With the Latest Version of PHP","description":"We work hard to ensure our customers have access to the latest versions of PHP, which are made available as soon as all necessary testing is completed.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Keeping You Up To Date With the Latest Version of PHP","og_description":"We work hard to ensure our customers have access to the latest versions of PHP, which are made available as soon as all necessary testing is completed.","og_url":"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_published_time":"2021-12-09T21:59:38+00:00","article_modified_time":"2025-05-14T18:33:16+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2021\/12\/PHP8_Header.png","type":"image\/png"}],"author":"Abe Selig","twitter_card":"summary_large_image","twitter_creator":"@wpengine","twitter_site":"@wpengine","twitter_misc":{"Written by":"Abe Selig","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/","url":"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/","name":"Keeping You Up To Date With the Latest Version of PHP","isPartOf":{"@id":"https:\/\/wpengine.com\/resources\/#website"},"datePublished":"2021-12-09T21:59:38+00:00","dateModified":"2025-05-14T18:33:16+00:00","author":{"@id":"https:\/\/wpengine.com\/resources\/#\/schema\/person\/b732a884dbf4917dcd15ce2e9fbd3652"},"description":"We work hard to ensure our customers have access to the latest versions of PHP, which are made available as soon as all necessary testing is completed.","breadcrumb":{"@id":"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/resources\/keep-up-to-date-latest-php-version\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Keep Your PHP Up To Date With WP Engine"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/resources\/#website","url":"https:\/\/wpengine.com\/resources\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/resources\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/resources\/#\/schema\/person\/b732a884dbf4917dcd15ce2e9fbd3652","name":"Abe Selig","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/resources\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g","caption":"Abe Selig"},"description":"Abe Selig is a writer, amateur musician and accomplished inshore fisherman. He began his career as a journalist and now tells stories about technology and the ways it\u2019s helping businesses thrive. He is an Austin, TX native who has lived in New York City and traveled all around the world. You can reach him at abe.selig@wpengine.com."}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/posts\/124081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/users\/200"}],"replies":[{"embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/comments?post=124081"}],"version-history":[{"count":0,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/posts\/124081\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/media\/124084"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/media?parent=124081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/categories?post=124081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/tags?post=124081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}