{"id":13963919,"date":"2023-07-13T07:20:32","date_gmt":"2023-07-13T07:20:32","guid":{"rendered":"https:\/\/wpml.org\/?p=13963919"},"modified":"2023-07-13T07:20:35","modified_gmt":"2023-07-13T07:20:35","slug":"wordpress-and-wpml-php-upgrade","status":"publish","type":"post","link":"https:\/\/wpml.org\/th\/announcements\/2023\/07\/wordpress-and-wpml-php-upgrade\/","title":{"rendered":"WordPress and WPML Update Minimal Requirements to PHP 7+"},"content":{"rendered":"\n<p class=\"lead\">WordPress 6.3 will drop support for PHP 5.6 in favor of PHP 7 and newer versions. We&#8217;re doing the same for the next WPML release and it will allow us to further optimize WPML on many levels.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Importance of PHP Requirement Update<\/h2>\n\n\n\n<p>WordPress 6.3, the next major version, is scheduled for 8 \u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21 2023. The decision to drop support for PHP 5 in this version is a welcome update for the whole community. It&#8217;s great because it will allow WordPress itself and theme and plugin developers to provide improvements across the board.&nbsp;<\/p>\n\n\n\n<p>Naturally, we will do the same PHP requirements upgrade for the next WPML release. It&#8217;s planned for a release a few days before WordPress 6.3 which means it will be a seamless match.<\/p>\n\n\n\n<p>The shift from PHP 5.6 to PHP 7 brings improved performance, better memory management, and enhanced security. We&#8217;re excited about the ways this will allow us to deliver greater performance and stability to your multilingual sites.<\/p>\n\n\n\n<p>In our latest release <a href=\"https:\/\/wpml.org\/th\/changelog\/2023\/06\/wpml-4-6-4-wcml-5-2-0-elevated-user-experience-and-performance\/\">WPML 4.6.4<\/a>, we also added full PHP 8 support for even better performance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What This Update Means for You<\/h2>\n\n\n\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"44ef03618ec65729feb7d0566358a8b8\">\n<p class=\"tb-heading\" data-toolset-blocks-heading=\"b09796d750527ad36b4e33acb19864d5\" data-last-update=\"1.4\">If your site is already running on PHP 7 or newer, you&#8217;re all set and don&#8217;t need to do anything.<\/p>\n<\/div>\n\n\n\n<p>If you&#8217;re still running PHP 5.6 you should upgrade to PHP 7 or newer as soon as possible.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to Check Your PHP Version<\/h3>\n\n\n\n<p>Not sure what PHP version your site is running? You can check by using the <strong>Site Health<\/strong> feature in WordPress.&nbsp;<\/p>\n\n\n\n<p>In your WordPress admin go to <strong>Tools<\/strong> \u2192 <strong>Site Health<\/strong> and click the <strong>Info<\/strong> tab. There, under the <strong>Server<\/strong> section, you will find your PHP version.<\/p>\n\n\n\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"0e96aa8921f1e883c080bc66ad9d1553\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wordpress-site-health-info-server-php-version.png\"><img decoding=\"async\" width=\"1380\" height=\"1000\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wordpress-site-health-info-server-php-version.png\" alt=\"\" class=\"wp-image-13963921\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wordpress-site-health-info-server-php-version.png 1380w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wordpress-site-health-info-server-php-version-300x217.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wordpress-site-health-info-server-php-version-1024x742.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wordpress-site-health-info-server-php-version-150x109.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wordpress-site-health-info-server-php-version-768x557.png 768w\" sizes=\"auto, (max-width: 1380px) 100vw, 1380px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Checking your PHP version by using the WordPress Site Health tool<\/div><\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to Upgrade Your PHP Version<\/h3>\n\n\n\n<p>The process of upgrading your PHP version is usually handled by your web hosting provider. We recommend contacting them and asking them to do this change for you.<\/p>\n\n\n\n<p>Alternatively, many hosting providers also offer an easy way to upgrade your PHP version directly from your hosting control panel.&nbsp;<\/p>\n\n\n\n<p>The following image shows an example of doing this in cPanel using the MultiPHP Manager page.<\/p>\n\n\n\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"dbc1c001093e1521468c6ff9c2609ee4\"><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version.png\"><img decoding=\"async\" width=\"1705\" height=\"750\" loading=\"lazy\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version.png\" alt=\"\" class=\"wp-image-13963945\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version.png 1705w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version-300x132.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version-1024x450.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version-150x66.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version-768x338.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/wpml-cpanel-change-php-version-1536x676.png 1536w\" sizes=\"auto, (max-width: 1705px) 100vw, 1705px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Changing the PHP version using cPanel<\/div><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What if You Cannot Upgrade Just Yet<\/h2>\n\n\n\n<p>We understand that some of our clients might not be able to upgrade their PHP version for different reasons. If that\u2019s the case for your site, don&#8217;t worry!&nbsp;<\/p>\n\n\n\n<p>If for some reason migration is not feasible right now, you can continue using WordPress 6.2.2 and WPML 4.6.4. Both are great, stable versions fully compatible with PHP 5.6.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Feedback? Comments?<\/h2>\n\n\n\n<p>We&#8217;re excited about these changes and look forward to offering you an even better WPML experience.<\/p>\n\n\n\n<p>What&#8217;s your take on this? Which PHP version is your site running? Let us know in the comments!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress 6.3 will drop support for PHP 5.6 in favor of [&hellip;]<\/p>\n","protected":false},"author":76577,"featured_media":13967769,"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-13963919","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements"],"spectra_custom_meta":{"_subscription_coupon_product_id":["0"],"toolset_post_editor_mode":["block"],"_wpv_contains_gutenberg_views":[""],"_edit_lock":["1689588438:538393"],"_wpml_word_count":["445"],"_alp_processed":["1689232836"],"_edit_last":["76577"],"_yoast_wpseo_content_score":["90"],"_yoast_wpseo_estimated-reading-time-minutes":[""],"_yoast_wpseo_wordproof_timestamp":[""],"_wpml_media_duplicate":["1"],"_wpml_media_featured":["1"],"_yoast_wpseo_primary_category":["3"],"_wpml_location_migration_done":["1"],"override_close_comments_for_old_posts":["0"],"_thumbnail_id":["13967769"],"_yoast_wpseo_opengraph-image":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-fb-1024x536.png"],"_yoast_wpseo_opengraph-image-id":["13967791"],"_yoast_wpseo_twitter-image":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-twitter.png"],"_yoast_wpseo_twitter-image-id":["13967813"],"ratings_users":["0"],"ratings_score":["0"],"ratings_average":["0"],"_wp_old_date":["2023-07-07"],"_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; web-share\" allowfullscreen><\/iframe>"],"_oembed_time_9596c0d9095e7ce9cc90624324ef4422":["1689925949"],"_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; web-share\" allowfullscreen><\/iframe>"],"_oembed_time_12570cf8030926800bac0f1584e1e153":["1689925949"],"_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; web-share\" allowfullscreen><\/iframe>"],"_oembed_time_e9018e6807d31b4505b7ad464275fdce":["1689925949"],"_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; web-share\" allowfullscreen><\/iframe>"],"_oembed_time_9052213bd50132682bbabb79e50bace9":["1689925949"],"_oembed_cfcc8d32f359dd000173b240cccb4392":["{{unknown}}"],"_oembed_5a55d53e37a9b5cf0a1196915e7af25d":["<iframe title=\"Create Multilingual Contact Forms using Contact Form 7 and WPML\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/YC1LAMt6kvk?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>"],"_oembed_time_5a55d53e37a9b5cf0a1196915e7af25d":["1707748571"],"_oembed_d57b405cf947e9517036c2d49e382073":["{{unknown}}"],"_uagb_previous_block_counts":["a:90:{s:21:\"uagb\/advanced-heading\";i:0;s:15:\"uagb\/blockquote\";i:0;s:12:\"uagb\/buttons\";i:0;s:18:\"uagb\/buttons-child\";i:0;s:19:\"uagb\/call-to-action\";i:0;s:15:\"uagb\/cf7-styler\";i:0;s:11:\"uagb\/column\";i:0;s:12:\"uagb\/columns\";i:0;s:14:\"uagb\/container\";i:0;s:21:\"uagb\/content-timeline\";i:0;s:27:\"uagb\/content-timeline-child\";i:0;s:14:\"uagb\/countdown\";i:0;s:12:\"uagb\/counter\";i:0;s:8:\"uagb\/faq\";i:0;s:14:\"uagb\/faq-child\";i:0;s:10:\"uagb\/forms\";i:0;s:17:\"uagb\/forms-accept\";i:0;s:19:\"uagb\/forms-checkbox\";i:0;s:15:\"uagb\/forms-date\";i:0;s:16:\"uagb\/forms-email\";i:0;s:17:\"uagb\/forms-hidden\";i:0;s:15:\"uagb\/forms-name\";i:0;s:16:\"uagb\/forms-phone\";i:0;s:16:\"uagb\/forms-radio\";i:0;s:17:\"uagb\/forms-select\";i:0;s:19:\"uagb\/forms-textarea\";i:0;s:17:\"uagb\/forms-toggle\";i:0;s:14:\"uagb\/forms-url\";i:0;s:14:\"uagb\/gf-styler\";i:0;s:15:\"uagb\/google-map\";i:0;s:11:\"uagb\/how-to\";i:0;s:16:\"uagb\/how-to-step\";i:0;s:9:\"uagb\/icon\";i:0;s:14:\"uagb\/icon-list\";i:0;s:20:\"uagb\/icon-list-child\";i:0;s:10:\"uagb\/image\";i:0;s:18:\"uagb\/image-gallery\";i:0;s:13:\"uagb\/info-box\";i:0;s:18:\"uagb\/inline-notice\";i:0;s:11:\"uagb\/lottie\";i:0;s:21:\"uagb\/marketing-button\";i:0;s:10:\"uagb\/modal\";i:0;s:18:\"uagb\/popup-builder\";i:0;s:16:\"uagb\/post-button\";i:0;s:18:\"uagb\/post-carousel\";i:0;s:17:\"uagb\/post-excerpt\";i:0;s:14:\"uagb\/post-grid\";i:0;s:15:\"uagb\/post-image\";i:0;s:17:\"uagb\/post-masonry\";i:0;s:14:\"uagb\/post-meta\";i:0;s:18:\"uagb\/post-taxonomy\";i:0;s:18:\"uagb\/post-timeline\";i:0;s:15:\"uagb\/post-title\";i:0;s:20:\"uagb\/restaurant-menu\";i:0;s:26:\"uagb\/restaurant-menu-child\";i:0;s:11:\"uagb\/review\";i:0;s:12:\"uagb\/section\";i:0;s:14:\"uagb\/separator\";i:0;s:11:\"uagb\/slider\";i:0;s:17:\"uagb\/slider-child\";i:0;s:17:\"uagb\/social-share\";i:0;s:23:\"uagb\/social-share-child\";i:0;s:16:\"uagb\/star-rating\";i:0;s:23:\"uagb\/sure-cart-checkout\";i:0;s:22:\"uagb\/sure-cart-product\";i:0;s:15:\"uagb\/sure-forms\";i:0;s:22:\"uagb\/table-of-contents\";i:0;s:9:\"uagb\/tabs\";i:0;s:15:\"uagb\/tabs-child\";i:0;s:18:\"uagb\/taxonomy-list\";i:0;s:9:\"uagb\/team\";i:0;s:16:\"uagb\/testimonial\";i:0;s:14:\"uagb\/wp-search\";i:0;s:19:\"uagb\/instagram-feed\";i:0;s:10:\"uagb\/login\";i:0;s:17:\"uagb\/loop-builder\";i:0;s:18:\"uagb\/loop-category\";i:0;s:20:\"uagb\/loop-pagination\";i:0;s:15:\"uagb\/loop-reset\";i:0;s:16:\"uagb\/loop-search\";i:0;s:14:\"uagb\/loop-sort\";i:0;s:17:\"uagb\/loop-wrapper\";i:0;s:13:\"uagb\/register\";i:0;s:19:\"uagb\/register-email\";i:0;s:24:\"uagb\/register-first-name\";i:0;s:23:\"uagb\/register-last-name\";i:0;s:22:\"uagb\/register-password\";i:0;s:30:\"uagb\/register-reenter-password\";i:0;s:19:\"uagb\/register-terms\";i:0;s:22:\"uagb\/register-username\";i:0;}"],"_uag_css_file_name":["uag-css-13963919.css"]},"uagb_featured_image_src":{"full":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post.png",1024,800,false],"thumbnail":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post-150x117.png",150,117,true],"medium":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post-300x234.png",300,234,true],"medium_large":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post-768x600.png",768,600,true],"large":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post.png",1024,800,false],"1536x1536":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post.png",1024,800,false],"2048x2048":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post.png",1024,800,false],"gform-image-choice-sm":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post.png",300,234,false],"gform-image-choice-md":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post.png",400,313,false],"gform-image-choice-lg":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post.png",600,469,false],"woocommerce_thumbnail":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post-150x150.png",150,150,true],"woocommerce_single":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post-300x234.png",300,234,true],"woocommerce_gallery_thumbnail":["https:\/\/wpml.org\/wp-content\/uploads\/2023\/07\/featured-image-post-100x100.png",100,100,true]},"uagb_author_info":{"display_name":"Dario","author_link":"https:\/\/wpml.org\/th\/author\/darioh\/"},"uagb_comment_info":0,"uagb_excerpt":"WordPress 6.3 will drop support for PHP 5.6 in favor of&hellip;","_links":{"self":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/13963919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/users\/76577"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/comments?post=13963919"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/13963919\/revisions"}],"predecessor-version":[{"id":13967763,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/posts\/13963919\/revisions\/13967763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/media\/13967769"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/media?parent=13963919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/categories?post=13963919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/tags?post=13963919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}