{"id":24052,"date":"2017-03-09T08:38:06","date_gmt":"2017-03-09T14:38:06","guid":{"rendered":"https:\/\/wpengine.com\/?p=24052"},"modified":"2025-05-08T15:37:56","modified_gmt":"2025-05-08T20:37:56","slug":"get-ready-for-php-7","status":"publish","type":"post","link":"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/","title":{"rendered":"Ready For PHP 7? Here&#8217;s What You Need To Know"},"content":{"rendered":"<p>Largely thanks to the popularity of WordPress (which now powers 27 percent of the entire internet), PHP has become one of the most popular programming languages in the world. In fact, more than <a href=\"https:\/\/haydenjames.io\/80-percent-web-powered-by-php\/\" target=\"_blank\" rel=\"noopener noreferrer\">80 percent<\/a> of the web is powered by PHP, including popular websites like Facebook, Wikipedia, and of course, WordPress.com.<\/p>\n<p>Released in 2015, the latest edition of PHP is version 7, which <a href=\"https:\/\/wpengine.com\/blog\/php-7-the-way-of-the-future\/\" target=\"_blank\" rel=\"noopener noreferrer\">vastly outperforms its predecessors<\/a>. Although PHP 7 was released more than a year ago, it\u2019s a been a slow transition for the majority of the web. Ninety percent of sites on PHP are still only running version 5, and as of February 2017, only 6.6 percent of WordPress sites are on PHP 7.<\/p>\n<p>If looking to learn more about this major release, including why it has been such a slow transition and how can you prepare your site, read on to find out more.<\/p>\n<h2>PHP 7: What You Need To Know<\/h2>\n<h3>WordPress.com is currently running on PHP 7<\/h3>\n<p>As of late 2016, WordPress.com has been 100 percent switched over to PHP 7. Starting mid-2017, WordPress will officially recommend its users bump versions from 5.6 to 7.0, meaning PHP 7 could become the minimum requirement for running self-hosted WordPress in 2017.<\/p>\n<h3>PHP 7 vastly outperforms prior versions<\/h3>\n<p>By making the transition from PHP 5 to PHP 7, expect to see impressive performance improvements thanks to its new <a href=\"https:\/\/www.zend.com\/\" target=\"_blank\" rel=\"noopener\">Zend Engine 3.0<\/a>, including:<\/p>\n<ul>\n<li>2-3x increased site speed<\/li>\n<li>30-50% improvements in memory consumption<\/li>\n<li>Ability to serve up to 3x as many requests per second<\/li>\n<\/ul>\n<h3>PHP 6 was skipped<\/h3>\n<p>2004 introduced the PHP 5.x series, but how did we go from there to version 7? There was an attempt to release PHP 6 between 2005 to 2010, but that never took off the ground. While PHP 6 did exist at some point (there were even books written on how to use it) the project ultimately failed due to complex issues and was never officially released.<\/p>\n<h3>PHP 7 is not backwards compatible<\/h3>\n<p>Before moving to PHP 7, you should detect if there are any compatibility issues with your site because once you switch you cannot go back to older legacy systems. This is why making the move to PHP 7 is currently elective and not mandatory. If your site is not ready for PHP 7, issues could arise with incompatibilities in themes and plugins.<\/p>\n<h3>Want to see if your site is ready for PHP 7? There\u2019s a plugin for that\u2026<\/h3>\n<p>If you\u2019re looking for serious performance gains, switching to PHP 7 is something you should consider. Upgrading your site to PHP 7 largely depends on compatibility with themes and plugins. This is why the transition has been so slow.<\/p>\n<p>You can use the <a href=\"https:\/\/wordpress.org\/plugins\/php-compatibility-checker\" target=\"_blank\" rel=\"noopener noreferrer\">PHP Compatibility Checker plugin<\/a> to detect what parts of your site are compatible with PHP 7 and which aren\u2019t.<\/p>\n<h3>PHP 7 environments are now available at WP Engine<\/h3>\n<p>WP Engine is happy to announce we now support PHP 7 environments for our users. If looking to move to PHP 7, we recommend you use the <a href=\"https:\/\/wpengine.com\/blog\/php-7-compatibility-checker-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\">PHP Compatibility Checker plugin<\/a> first. That way you can to determine which (if any) plugins, themes, etc. are ready for PHP 7.<\/p>\n<p>After you\u2019ve determined that your site is ready to make the switch, you\u2019re welcome to contact our support team through the Live Chat in your User Portal or via your Customer Success Manager to initiate the upgrade. (<span style=\"font-weight: 400;\">New customers can select PHP 7 from the get-go without having to contact support.)<\/span><\/p>\n<p>For additional info and eligibility criteria, take a look at our <a href=\"https:\/\/wpengine.com\/support\/php-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">PHP Support Center guide<\/a>.<\/p>\n<p><em>To learn more about PHP 7, check out this resource:\u00a0<\/em><em><a href=\"https:\/\/wpengine.com\/resources\/intro-php-7-wordpress\/\" target=\"_blank\" rel=\"noopener noreferrer\">Intro to PHP 7 for WordPress users.<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Largely thanks to the popularity of WordPress (which now powers 27 percent of the entire internet), PHP has become one of the most popular programming languages in the world. In fact, more than 80 percent of the web is powered by PHP, including popular websites like Facebook, Wikipedia, and of course, WordPress.com. Released in 2015,<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":114,"featured_media":24497,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[372,5,9],"tags":[115,468],"class_list":["post-24052","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-development","category-product-updates","tag-php","tag-php-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ready For PHP 7? Here&#039;s What You Need To Know | WP Engine Blog<\/title>\n<meta name=\"description\" content=\"If looking to learn more about PHP 7, including why it has been such a slow transition and how can you prepare your site, read on to learn more.\" \/>\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=\"Ready For PHP 7? Here&#039;s What You Need To Know | WP Engine Blog\" \/>\n<meta property=\"og:description\" content=\"If looking to learn more about PHP 7, including why it has been such a slow transition and how can you prepare your site, read on to learn more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/\" \/>\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=\"2017-03-09T14:38:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-08T20:37:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2017\/02\/php7-facebook-final-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Darcy Wheeler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2017\/02\/php7-twitter-final.jpg\" \/>\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=\"Darcy Wheeler\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/\",\"url\":\"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/\",\"name\":\"Ready For PHP 7? Here's What You Need To Know | WP Engine Blog\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/resources\/#website\"},\"datePublished\":\"2017-03-09T14:38:06+00:00\",\"dateModified\":\"2025-05-08T20:37:56+00:00\",\"author\":{\"@id\":\"https:\/\/wpengine.com\/resources\/#\/schema\/person\/34868282515de283b983c228d0824b39\"},\"description\":\"If looking to learn more about PHP 7, including why it has been such a slow transition and how can you prepare your site, read on to learn more.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ready For PHP 7? Here&#8217;s What You Need To Know\"}]},{\"@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\/34868282515de283b983c228d0824b39\",\"name\":\"Darcy Wheeler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/resources\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2a901348de6e810af952ffb72a21dbfc3e77868c2acb539d7d92524a9f1bb7be?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2a901348de6e810af952ffb72a21dbfc3e77868c2acb539d7d92524a9f1bb7be?s=96&d=mm&r=g\",\"caption\":\"Darcy Wheeler\"},\"description\":\"A photography and art enthusiast, in her spare time she enjoys traveling, practicing yoga, designing items for her craft store, and trying new cooking recipes. Follow her on Twitter @darewhee.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ready For PHP 7? Here's What You Need To Know | WP Engine Blog","description":"If looking to learn more about PHP 7, including why it has been such a slow transition and how can you prepare your site, read on to learn more.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Ready For PHP 7? Here's What You Need To Know | WP Engine Blog","og_description":"If looking to learn more about PHP 7, including why it has been such a slow transition and how can you prepare your site, read on to learn more.","og_url":"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_published_time":"2017-03-09T14:38:06+00:00","article_modified_time":"2025-05-08T20:37:56+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2017\/02\/php7-facebook-final-2.jpg","type":"image\/jpeg"}],"author":"Darcy Wheeler","twitter_card":"summary_large_image","twitter_image":"https:\/\/wpengine.com\/resources\/wp-content\/uploads\/2017\/02\/php7-twitter-final.jpg","twitter_creator":"@wpengine","twitter_site":"@wpengine","twitter_misc":{"Written by":"Darcy Wheeler","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/","url":"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/","name":"Ready For PHP 7? Here's What You Need To Know | WP Engine Blog","isPartOf":{"@id":"https:\/\/wpengine.com\/resources\/#website"},"datePublished":"2017-03-09T14:38:06+00:00","dateModified":"2025-05-08T20:37:56+00:00","author":{"@id":"https:\/\/wpengine.com\/resources\/#\/schema\/person\/34868282515de283b983c228d0824b39"},"description":"If looking to learn more about PHP 7, including why it has been such a slow transition and how can you prepare your site, read on to learn more.","breadcrumb":{"@id":"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/resources\/get-ready-for-php-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Ready For PHP 7? Here&#8217;s What You Need To Know"}]},{"@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\/34868282515de283b983c228d0824b39","name":"Darcy Wheeler","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/resources\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2a901348de6e810af952ffb72a21dbfc3e77868c2acb539d7d92524a9f1bb7be?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2a901348de6e810af952ffb72a21dbfc3e77868c2acb539d7d92524a9f1bb7be?s=96&d=mm&r=g","caption":"Darcy Wheeler"},"description":"A photography and art enthusiast, in her spare time she enjoys traveling, practicing yoga, designing items for her craft store, and trying new cooking recipes. Follow her on Twitter @darewhee."}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/posts\/24052","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\/114"}],"replies":[{"embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/comments?post=24052"}],"version-history":[{"count":0,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/posts\/24052\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/media\/24497"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/media?parent=24052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/categories?post=24052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpengine.com\/resources\/wp-json\/wp\/v2\/tags?post=24052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}