{"id":6810,"date":"2019-04-01T14:51:27","date_gmt":"2019-04-01T14:51:27","guid":{"rendered":"https:\/\/wordpress.org\/news\/?p=6810"},"modified":"2021-06-04T12:01:32","modified_gmt":"2021-06-04T12:01:32","slug":"minimum-php-version-update","status":"publish","type":"post","link":"https:\/\/wordpress.org\/news\/2019\/04\/minimum-php-version-update\/","title":{"rendered":"Minimum PHP Version update"},"content":{"rendered":"\n

WordPress 5.2 is targeted for release at the end of this month, and with it comes an update to the minimum required version of PHP. WordPress will now require a minimum of PHP 5.6.20.<\/p>\n\n\n\n

Beginning in WordPress 5.1, users running PHP versions below 5.6 have had a notification in their dashboard that includes information to help them update PHP<\/a>. Since then, the WordPress stats<\/a> have shown an increase in users on more recent versions of PHP. <\/p>\n\n\n\n


\n\n\n\n
\"Screenshot
The dashboard widget users see if running an outdated version of PHP <\/figcaption><\/figure>\n\n\n\n
\n\n\n\n

Why You Should Update PHP<\/h2>\n\n\n\n

If your site is running on an unsupported version of PHP, the WordPress updater will not offer WordPress 5.2 to your site. If you attempt to update WordPress manually, that update will fail. To continue using the latest features of WordPress you must update to a newer version of PHP. <\/p>\n\n\n\n

When updating to a new version of PHP, WordPress encourages updating to its recommended version, PHP 7.3. The PHP internals team has done a great job making its most recent version the fastest version of PHP yet. This means that updating will improve the speed of your site, both for you and your visitors.<\/p>\n\n\n\n

This performance increase also means fewer servers are needed to host websites. Updating PHP isn’t just good for your site, it also means less energy is needed for the 1-in-3 sites that use WordPress<\/a>, so it’s good for the planet. <\/p>\n\n\n\n

How to Update PHP<\/h2>\n\n\n\n

If you need help updating to a new version of PHP, detailed documentation is available<\/a>. This includes sample communication to send to your host for them to assist you. Many hosting companies have published information on how to update PHP<\/a> that is specific for them. <\/p>\n\n\n\n

5.6 now, but soon 7+<\/h2>\n\n\n\n

This is the first increase in PHP required version for WordPress since 2010<\/a>, but may not be the only increase in 2019. The WordPress core team will monitor the adoption of the most recent versions of PHP with an eye towards making PHP 7+ the minimum version towards the end of the year. <\/p>\n\n\n\n

Update PHP today, so you can update WordPress tomorrow!<\/a><\/p><\/blockquote><\/figure>\n","protected":false},"excerpt":{"rendered":"

WordPress 5.2 is targeted for release at the end of this month, and with it comes an update to the minimum required version of PHP. WordPress will now require a minimum of PHP 5.6.20. Beginning in WordPress 5.1, users running PHP versions below 5.6 have had a notification in their dashboard that includes information to […]<\/p>\n","protected":false},"author":2738372,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"episode_type":"","audio_file":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","date_recorded":"","explicit":"","block":"","filesize_raw":"","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":[5],"tags":[134],"class_list":["post-6810","post","type-post","status-publish","format-standard","hentry","category-development","tag-php"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pZhYe-1LQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts\/6810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/users\/2738372"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/comments?post=6810"}],"version-history":[{"count":11,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts\/6810\/revisions"}],"predecessor-version":[{"id":6848,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/posts\/6810\/revisions\/6848"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/media?parent=6810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/categories?post=6810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.org\/news\/wp-json\/wp\/v2\/tags?post=6810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}