{"id":4951,"date":"2021-10-14T09:51:37","date_gmt":"2021-10-14T09:51:37","guid":{"rendered":"https:\/\/www.cldy.com\/support\/?post_type=docs&#038;p=4951"},"modified":"2023-01-24T22:03:56","modified_gmt":"2023-01-24T14:03:56","password":"","slug":"how-to-modify-the-php-version-for-your-domain-via-cpanel","status":"publish","type":"docs","link":"https:\/\/www.cldy.com\/support\/help\/how-to-modify-the-php-version-for-your-domain-via-cpanel\/","title":{"rendered":"How to Modify the PHP Version for Your Domain via cPanel?"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">We\u2019re all familiar with how software updates on a regular basis. For example, Windows regularly pushes updates on its users. This allows the end user to enjoy the most secure version of the software, as well as the latest features that the software company brought to the table.\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">However, there comes a time when software reaches EOL, or the End-Of-Life stage. This is when the software company no longer updates the software, no longer produces patches and fixes for bugs, and therefore leaves the user with a vulnerable version\u2015one that may be buggy, or worse, open to malware and hacking attacks.\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The same is true for websites. Websites run on code, and they are essentially software in themselves. Some still run on HTML, the oldest type of website code, while others may run on PHP, among others.\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">PHP is an Open Source code for dynamic websites. Dynamic websites take its nature from the main keyword itself, \u201cDynamic,\u201d meaning, these types of websites are capable of changing, usually in response to user interaction. WordPress websites are examples of Dynamic websites, and yes, they run on PHP.\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Technically, WordPress runs on a combination of PHP, HTML, and CSS, and you can modify all of that within your WordPress Dashboard. And if you update your WordPress installation regularly, you must update your PHP version regularly as well.\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Aside from that, PHP Versions usually have a life cycle of 3 years, so if you want your PHP Version supported by the <a href=\"https:\/\/www.php.net\/\" rel=\"nofollow noopener\" target=\"_blank\">PHP Development community<\/a> with bug and security fixes, keep it up-to-date.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">So let\u2019s take you through the process of updating the PHP version for your WordPress website.\u00a0<\/p>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li><strong>Log in to your CLDY cPanel.\u00a0<\/strong><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Usually, the cPanel Web Address can be navigated to through your domain, in this format:\u00a0\r\n<ul>\r\n<li><a href=\"https:\/\/yourdomain.com\/cpanel\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/yourdomain.com\/cpanel<\/a>\u00a0<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\" start=\"2\">\r\n<li><strong>Scroll down to the \u201cSoftware\u201d section.\u00a0<br \/><br \/><img decoding=\"async\" class=\"alignnone size-medium wp-image-5955\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-300x73.png\" alt=\"\" width=\"300\" height=\"73\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-300x73.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-768x187.png 768w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager.png 989w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/><\/strong><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\" start=\"3\">\r\n<li><strong>Go to \u201cMultiPHP Manager.\u201d\u00a0<\/strong><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\" start=\"4\">\r\n<li><strong>Under PHP Selector, you will find the \u201cCurrent PHP version,\u201d which also shows the PHP Version number that the website has been set to.\u00a0<br \/><br \/><img decoding=\"async\" class=\"alignnone size-medium wp-image-5958\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-dropdown-php-version-1-300x181.png\" alt=\"\" width=\"300\" height=\"181\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-dropdown-php-version-1-300x181.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-dropdown-php-version-1-1024x617.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-dropdown-php-version-1-768x463.png 768w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_multiphp-manager-dropdown-php-version-1.png 1331w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/><\/strong><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\" start=\"5\">\r\n<li><strong>Click the drop-down.\u00a0<\/strong><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\" start=\"6\">\r\n<li><strong>Choose the PHP Version that you want to downgrade or upgrade to.\u00a0<\/strong><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>From there, upgrade to the latest version, especially if your WordPress website is updated to the current version.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>You can also choose to downgrade to a lower PHP Version if you need to. Usually, you will have to do this if you need to stay on a certain WordPress version. This is usually the case if your website has been custom-coded for a specific WordPress version, and won\u2019t work with other versions.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Make sure that the PHP Version you choose matches what your WordPress version requires.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\" start=\"7\">\r\n<li><strong>Aside from being able to change your PHP Version from the My Domains tab, you can also go in to Options and check or modify your PHP Version from there.\u00a0<br \/><br \/><\/strong>From your cPanel homepage, click <strong>Select PHP Version<\/strong>.<br \/><br \/><img decoding=\"async\" class=\"alignnone size-medium wp-image-5959\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_select-php-version-300x73.png\" alt=\"\" width=\"300\" height=\"73\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_select-php-version-300x73.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_select-php-version-768x187.png 768w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_select-php-version.png 983w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/><br \/>Go to\u00a0<strong>Options<\/strong> and click on the dropdown for the Current PHP version:<br \/><br \/><img decoding=\"async\" class=\"alignnone size-medium wp-image-5960\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_select-php-version_options-dropdown-226x300.png\" alt=\"\" width=\"226\" height=\"300\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_select-php-version_options-dropdown-226x300.png 226w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2021\/10\/modify-php-version_select-php-version_options-dropdown.png 594w\" sizes=\"(max-width: 226px) 100vw, 226px\" \/><br \/><br \/><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Changes are automatically saved upon selection, so there\u2019s no need to click anything else after.\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">When you\u2019re done, either navigate out of your cPanel or close the Tab or Window, and enjoy the changes to your website!\u00a0<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><strong>Benefits of Upgrading Your PHP Version<\/strong><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Aside from keeping your website secure and the bugs patched regularly, an updated website also enjoys faster loading times. The latest PHP Version may also include cool new features, such as when the PHP Devs introduced <a href=\"https:\/\/stitcher.io\/blog\/preloading-in-php-74\" rel=\"nofollow noopener\" target=\"_blank\">Preloading in PHP 7.4<\/a>.\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">If you\u2019re a programmer, a developer, or a general geek, you might want to check the <a href=\"https:\/\/www.php.net\/ChangeLog-8.php\" rel=\"nofollow noopener\" target=\"_blank\">Changelog Page<\/a> for the PHP Versions. PHP also publishes <a href=\"https:\/\/www.php.net\/releases\/8.0\/en.php\" rel=\"nofollow noopener\" target=\"_blank\">Release Notes<\/a> just like they did with <a href=\"https:\/\/www.php.net\/releases\/8.0\/en.php\" rel=\"nofollow noopener\" target=\"_blank\">PHP 8<\/a>.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><strong>The Wrap<\/strong><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Always keep your website safe, secure, and up-to-date, regularly update your WordPress installation and your PHP Version, and you\u2019ll be set for overall website health!<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re all familiar with how software updates on a regular basis. For example, Windows regularly pushes updates on its users. This allows the end user to enjoy the most secure version of the software, as well as the latest features that the software company brought to the table.\u00a0 However, there comes a time when software [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[47,31],"doc_tag":[],"class_list":["post-4951","docs","type-docs","status-publish","hentry","doc_category-cpanel","doc_category-web-hosting"],"year_month":"2026-07","word_count":634,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"cldy","author_nicename":"loriecldy","author_url":"https:\/\/www.cldy.com\/support\/author\/loriecldy\/"},"doc_category_info":[{"term_name":"cPanel","term_url":"https:\/\/www.cldy.com\/support\/help-category\/cpanel\/"},{"term_name":"Web Hosting","term_url":"https:\/\/www.cldy.com\/support\/help-category\/web-hosting\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/4951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/comments?post=4951"}],"version-history":[{"count":3,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/4951\/revisions"}],"predecessor-version":[{"id":5961,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/4951\/revisions\/5961"}],"wp:attachment":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/media?parent=4951"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_category?post=4951"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_tag?post=4951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}