{"id":3551535,"date":"2019-04-07T11:52:39","date_gmt":"2019-04-07T11:52:39","guid":{"rendered":"https:\/\/wpml.org\/?p=3551535"},"modified":"2019-06-18T14:09:57","modified_gmt":"2019-06-18T14:09:57","slug":"wpml-4-3-will-require-php-5-6-and-above","status":"publish","type":"post","link":"https:\/\/wpml.org\/fr\/announcements\/2019\/04\/wpml-4-3-will-require-php-5-6-and-above\/","title":{"rendered":"WPML 4.3 will Require PHP 5.6 and Above"},"content":{"rendered":"<p class=\"lead\">WPML 4.3, which will go live in 2-3 months, will use PHP features that only appear in version 5.6 and above. Since WordPress <a href=\"https:\/\/core.trac.wordpress.org\/changeset\/44950\">also requires PHP 5.6+<\/a>, this practically doesn&rsquo;t mean much to most websites.<\/p>\n<p>PHP older than 5.6 is pretty ancient. In fact, PHP 5.6 is ancient too and so is PHP 7.0. As you can see in the <a href=\"https:\/\/www.php.net\/supported-versions.php\">PHP active versions<\/a>, PHP 7.1 is already in \u00ab\u00a0security fixes only\u00a0\u00bb and active development is going into newer versions.<\/p>\n<figure id=\"attachment_3551549\" aria-describedby=\"caption-attachment-3551549\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-1024x599.png\" alt=\"\" width=\"1024\" height=\"599\" class=\"size-large wp-image-3551549\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-1024x599.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-150x88.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-300x176.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-768x450.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions.png 1336w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-3551549\" class=\"wp-caption-text\">Supported PHP versions<\/figcaption><\/figure>\n<p>Modern WordPress hosts will always be using the recent PHP versions. This makes your site run fastest and most secure.<\/p>\n<h2>How to test which PHP version my sites are using<\/h2>\n<p>If you&rsquo;re not sure what version of PHP your host is offering, use the phpinfo() function. See how to check it in our <a href=\"https:\/\/wpml.org\/home\/minimum-requirements\/\">minimum requirements<\/a> page.<\/p>\n<h2>How to upgrade to modern PHP<\/h2>\n<p>If you discover that any of your sites are still on versions of PHP prior to 7, we recommend that you contact your host and ask for a PHP upgrade. In most cases, it&rsquo;s a matter of simple configuration. Almost all hosts already have the latest version of PHP installed. They will gladly switch you over.<\/p>\n<p>If your host insists on running ancient PHP versions, consider moving to one of the <a href=\"https:\/\/wpml.org\/hosting-partner\/\">hosting companies that we recommend<\/a> (no affiliate links, just good recommendations).<\/p>\n<h2>Questions?<\/h2>\n<p>If you&rsquo;re unsure or have any questions, please leave your comment and we&rsquo;ll get back to you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPML 4.3, which will go live in 2-3 months, will use PHP features that only appear in version 5.6 and above. Since WordPress also requires PHP 5.6+, this practically doesn&rsquo;t mean much to most websites. PHP older than 5.6 is pretty ancient. In fact, PHP 5.6 is ancient too and so is PHP 7.0. As [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3551549,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3551535","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements"],"_links":{"self":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/3551535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/comments?post=3551535"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/3551535\/revisions"}],"predecessor-version":[{"id":4044353,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/posts\/3551535\/revisions\/4044353"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/media\/3551549"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/media?parent=3551535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/categories?post=3551535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/fr\/wp-json\/wp\/v2\/tags?post=3551535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}