{"id":9948338,"date":"2018-02-08T09:13:28","date_gmt":"2018-02-08T09:13:28","guid":{"rendered":"https:\/\/wordpress.org\/support\/?page_id=9948338"},"modified":"2021-10-05T22:09:41","modified_gmt":"2021-10-05T22:09:41","slug":"update-php","status":"publish","type":"page","link":"https:\/\/wordpress.org\/support\/update-php\/","title":{"rendered":"Get a faster, more secure website: update PHP today"},"content":{"rendered":"\n
Your WordPress site can be faster, and more secure, and you can make this happen!<\/strong><\/p>\n\n\n\n This page will explain why this matters to you, and then how you can fix it. PHP is the coding language WordPress is built on, and its version is set at the server-level by your hosting company. Whilst you may be familiar with the importance of keeping WordPress, and your themes and plugins up-to-date<\/a>, keeping PHP up-to-date is just as important. There are two main benefits to keeping PHP up-to-date: And then there are a number of secondary benefits: These benefits are good for you, and good for your website\u2019s visitors. These are the reasons you should update PHP today. The next section will show you how to do this. This section starts off with some warnings, but don\u2019t be afraid! As with most things technical, we just need to cover some background before we can get to the part where you update your PHP version. Updating your PHP version should not be a problem, but we can\u2019t guarantee<\/em> that it\u2019s not. WordPress itself will work with PHP versions as far back as 5.6 (we\u2019re recommending version 7.4 or more at the time of writing, so this is great<\/em> backward compatibility!), but we don\u2019t know if your themes or plugins will work. They should, and popular or reputable ones almost certainly will be, but we can\u2019t guarantee it. There are a couple of steps you should take to mitigate any risk before proceeding: Run through these steps, and you\u2019ll be ready to update the PHP version on your WordPress site \u2013 and enjoy all of the benefits that come with this! If you run into any issues whilst doing this or need help, you should contact a professional web developer, your hosting company, or your theme and plugins authors. All of these will be happy to help here. We can now get on to the final part: actually updating your website\u2019s PHP version. You\u2019re now ready to update your website\u2019s PHP version! You\u2019ve done due diligence, got backups, and are in the best possible shape to do the update. As the PHP version is set at the server level by your hosting company, updating involves either interacting with your host\u2019s settings or asking them to do it. Thus, exactly how<\/em> to do the update depends on your hosting company. We\u2019ve asked hosting companies to submit instructions on how to update your PHP version on their hosting, and you\u2019ll find a list of hosts who have instructions available here<\/a>.
<\/p>\n\n\n\nWhy PHP Matters To You<\/h2>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\nBefore you update your PHP version<\/h2>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\nHow to update your website\u2019s PHP version for a faster, more secure website<\/h2>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n
<\/p>\n\n\n\n