{"id":2795,"date":"2020-05-05T03:53:04","date_gmt":"2020-05-05T11:53:04","guid":{"rendered":"https:\/\/www.henselhosting.com\/?p=2795"},"modified":"2021-03-21T12:59:00","modified_gmt":"2021-03-21T19:59:00","slug":"how-to-change-php-version-of-your-websites","status":"publish","type":"post","link":"https:\/\/www.henselhosting.com\/blog\/how-to-change-php-version-of-your-websites\/","title":{"rendered":"How to Change PHP Version of Your Websites"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Update: PHP 7.4 is available (August 2020)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While it is a best practice to always use the latest version of PHP, compatibility is also an important factor to consider before upgrading. Starting May 2020 it is now possible&nbsp;to choose which PHP version your account uses&nbsp;via the&nbsp;<a href=\"https:\/\/ac.managedomain.nl\/\">Control Panel<\/a>&nbsp;. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: this is done per account (username), not per website.&nbsp;You cannot use different PHP versions within 1 account.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Best way to upgrade<br><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First check if all software on your websites is up to date, such as WordPress plugins and theme.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.henselhosting.nl\/wp-content\/uploads\/Screen-Shot-2020-05-05-at-15.29.39-300x197.png\" alt=\"\" class=\"wp-image-7574\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Click on one of your domains, and choose PHP settings (under advanced).&nbsp;Note which version is currently in use.&nbsp;Then select the desired (usually highest possible) version, for example 7.3.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.henselhosting.nl\/wp-content\/uploads\/Screen-Shot-2020-05-05-at-15.30.43-300x216.png\" alt=\"\" class=\"wp-image-7575\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Wait (max. 1 minute) for the new PHP version to be active.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check all websites in the account, especially the important interactive functions such as web shops, contact forms etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Which version can I choose?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which versions you can select varies per account.&nbsp;At the moment, at least PHP 7.0 and PHP 7.3 are available everywhere.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PHP 5.6 is still available if you have an older hosting account (until the end of 2020). For extended support until June 2022, please ask us for the options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update: PHP 7.4 is available (August 2020) While it is a best practice to always use the latest version of PHP, compatibility is also an important factor to consider before upgrading. Starting May 2020 it is now possible&nbsp;to choose which PHP version your account uses&nbsp;via the&nbsp;Control Panel&nbsp;. Note: this is done per account (username), not&hellip; <a class=\"more-link\" href=\"https:\/\/www.henselhosting.com\/blog\/how-to-change-php-version-of-your-websites\/\">Continue reading <span class=\"screen-reader-text\">How to Change PHP Version of Your Websites<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":3599,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-2795","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","entry"],"_links":{"self":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2795"}],"version-history":[{"count":8,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2795\/revisions"}],"predecessor-version":[{"id":3600,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2795\/revisions\/3600"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/media\/3599"}],"wp:attachment":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}