{"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\/zh-hans\/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&#8217;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 &#8220;security fixes only&#8221; 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&#8217;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&#8217;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&#8217;re unsure or have any questions, please leave your comment and we&#8217;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 PH [&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,"_uag_custom_page_level_css":"","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"],"spectra_custom_meta":{"_subscription_coupon_product_id":["0"],"inline_featured_image":["0"],"_wpml_word_count":["228"],"_edit_lock":["1561361435:2"],"_edit_last":["22418"],"_wpml_media_featured":["1"],"_wpml_media_duplicate":["1"],"_alp_processed":["1560866998"],"_yoast_wpseo_content_score":["90"],"_yoast_wpseo_primary_category":[""],"_views_template":["0"],"_thumbnail_id":["3551549"],"ratings_users":["0"],"ratings_score":["0"],"ratings_average":["0"],"_oembed_9596c0d9095e7ce9cc90624324ef4422":["<iframe title=\"Duplicator For WordPress Quick Overview\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/yZ7pHmR9JC8?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_9596c0d9095e7ce9cc90624324ef4422":["1660215385"],"_oembed_12570cf8030926800bac0f1584e1e153":["<iframe title=\"How to use the backup wizard in cpanel\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/eS-tCkc-gm0?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_12570cf8030926800bac0f1584e1e153":["1660215385"],"_oembed_1c0ef2e069ab1e666be8a1bac83a42ee":["{{unknown}}"],"_oembed_e9018e6807d31b4505b7ad464275fdce":["<iframe title=\"How to copy multiple accounts from another server to your WHM server using SSH\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/C6ro9h0qowU?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_e9018e6807d31b4505b7ad464275fdce":["1660215386"],"_oembed_9052213bd50132682bbabb79e50bace9":["<iframe title=\"How to use FTP to upload files to WordPress for Beginners\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/_nDQz1JQfYA?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_9052213bd50132682bbabb79e50bace9":["1660215386"],"_oembed_cfcc8d32f359dd000173b240cccb4392":["{{unknown}}"],"_uag_css_file_name":["uag-css-3551535.css"]},"uagb_featured_image_src":{"full":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions.png",1336,782,false],"thumbnail":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-150x88.png",150,88,true],"medium":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-300x176.png",300,176,true],"medium_large":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-768x450.png",768,450,true],"large":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-1024x599.png",1024,599,true],"1536x1536":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions.png",1336,782,false],"2048x2048":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions.png",1336,782,false],"gform-image-choice-sm":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions.png",300,176,false],"gform-image-choice-md":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions.png",400,234,false],"gform-image-choice-lg":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions.png",600,351,false],"woocommerce_thumbnail":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-150x150.png",150,150,true],"woocommerce_single":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-300x176.png",300,176,true],"woocommerce_gallery_thumbnail":["https:\/\/wpml.org\/wp-content\/uploads\/2019\/04\/supported-php-versions-100x100.png",100,100,true]},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/zh-hans\/author\/amir\/"},"uagb_comment_info":0,"uagb_excerpt":"WPML 4.3, which will go live in 2-3 months, will use PH...","_links":{"self":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/3551535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/comments?post=3551535"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/3551535\/revisions"}],"predecessor-version":[{"id":4044353,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/3551535\/revisions\/4044353"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media\/3551549"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media?parent=3551535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/categories?post=3551535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/tags?post=3551535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}