{"id":30194,"date":"2022-11-04T21:16:07","date_gmt":"2022-11-04T21:16:07","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/"},"modified":"2023-09-04T12:17:46","modified_gmt":"2023-09-04T12:17:46","slug":"how-to-update-the-php-version-of-the-wordpress-website","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/","title":{"rendered":"How to Update the PHP Version of the WordPress Website"},"content":{"rendered":"\n<p><strong>Tutorial requirements:<\/strong><\/p>\n\n\n\n<ul>\n<li>Up and running WordPress website;<\/li>\n\n\n\n<li>Access to the admin panel of your hosting provider with full rights.<\/li>\n<\/ul>\n\n\n\n<p>Updating the PHP version might sound intimidating and complex for the beginner in WordPress, but it\u2019s a straightforward procedure that literally takes a few minutes. All you need is to follow a few simple steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-update-php-for-wordpress-website\"><strong>Why Update PHP for the <\/strong><strong>WordPress Website<\/strong><\/h2>\n\n\n\n<p>WordPress runs on PHP, an open-source programming language maintained by a community of developers. This community supports each PHP version for two years from the date of its stable release, providing bugs and security fixes. Then, the version gets only critical updates and security patches for one more year. After that period, the PHP version became deprecated and no longer maintained.&nbsp;<\/p>\n\n\n\n<p>There are three main reasons why PHP must be updated on time:<\/p>\n\n\n\n<ul>\n<li><strong>Security<\/strong>. Simply put, the newer the version, the fewer hackers have examined its vulnerabilities. Also, as the community maintains PHP, the latest versions get their security issues reported and patched regularly.<\/li>\n\n\n\n<li><strong>Speed and performance<\/strong>.<strong> <\/strong>The website\u2019s speed affects not only the user experience of the visitors but also the search engines\u2019 ranks. The latest PHP version always runs 10-15% faster than the previous. And the difference between version 8.0 and 5.6 is almost 400%.&nbsp;<\/li>\n\n\n\n<li><strong>Stability<\/strong>. The latest versions have as many configuration errors fixed as possible, which means that the stability and performance of the website are much better than if it runs on older versions.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-check-php-version-in-wordpress\"><strong>How to Check the PHP Version in WordPress?<\/strong><\/h2>\n\n\n\n<p>You can check the current PHP version right in the WordPress dashboard:<\/p>\n\n\n\n<ol>\n<li>Click <strong><em>Tools &gt; Site Health<\/em><\/strong>.<\/li>\n\n\n\n<li>Go to the <strong>Info <\/strong>tab.<\/li>\n\n\n\n<li>Open the <strong>Server <\/strong>accordion tab.<\/li>\n<\/ol>\n\n\n\n<p>There you will find the information about your current PHP version.<\/p>\n\n\n\n<p>In this tab, you will also find more details about your website\u2019s PHP and server settings, including the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-check-wordpress-environment-system-info-setting-up-the-proper-memory-limit\/\" target=\"_blank\" rel=\"noreferrer noopener\">PHP memory limit<\/a> and the PHP time limit.&nbsp;<\/p>\n\n\n\n<p>You can find the stable releases and the timing when they become obsolete on the <a href=\"https:\/\/www.php.net\/supported-versions.php\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">official website of the PHP<\/a> community. If your current version is about to reach the end-of-life (EOL) anytime soon, it is strongly recommended to update the PHP version.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-to-check-before-updating\"><strong>What to Check Before the Updating?<\/strong><\/h2>\n\n\n\n<p>Technically, WordPress works with PHP versions up to 5.6.20. If the website has plugins or any kind of code with functions no longer supported by newer versions, it will cause an error. To avoid such a situation, just follow the simple steps:<\/p>\n\n\n\n<ol>\n<li>Make a full backup of your website; it\u2019s absolutely necessary before any important website updates, including PHP version changes. There are many backup plugins, but the best way to do it is via the admin panel of your hosting. There\u2019s always such functionality available. In case of compatibility issues, you can easily roll back from that backup.<\/li>\n<\/ol>\n\n\n\n<ol>\n<li>Update the WordPress version to the latest. For doing this, go to the <strong><em>Dashboard &gt; Updates<\/em><\/strong> section on the admin panel of your website. There you will see not only the current WordPress version and the latest updates available but also the plugins and themes that need the same.<\/li>\n\n\n\n<li>Update the WordPress version, all the plugins, and the theme.&nbsp;<\/li>\n<\/ol>\n\n\n\n<ol start=\"4\">\n<li>Go to the front end and check if everything works smoothly.&nbsp;<\/li>\n\n\n\n<li>Install the free <a href=\"https:\/\/wordpress.org\/plugins\/php-compatibility-checker\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>PHP Compatibility Checker<\/strong><\/a> plugin and find out whether the website is ready for the PHP version update.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"update-php-with-kinsta-hosting\"><strong>Update PHP with Kinsta Hosting<\/strong><\/h2>\n\n\n\n<p>Updating the PHP version with <a href=\"https:\/\/kinsta.com\/?kaid=IANCQAQQUIJA\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Kinsta hosting<\/a> is very easy, too. It has its own custom panel to manage everything in your account, and the PHP update will take just a few minutes.&nbsp;<\/p>\n\n\n\n<p class=\"style-title-numecal\"><b><span>1<\/span> Step<\/b> <strong>\u2014 Create a staging environment for your website<\/strong><\/p>\n\n\n\n<p>Creating the staging website constructs a testing environment for your live project, duplicating everything you have on the live one. There, you can try all the updates, test all the plugins and themes, and ensure everything works smoothly. After doing that, you can push it to the live website.&nbsp;<\/p>\n\n\n\n<ol>\n<li>Go to <strong><em>Dashboard &gt; Sites<\/em><\/strong>.<\/li>\n\n\n\n<li>Click on the website you want to work with.<\/li>\n\n\n\n<li>Choose \u201cStaging\u201d on the drop-down menu in front of the name of the website.<\/li>\n\n\n\n<li>Press<strong> \u201cCreate a staging environment.\u201d<\/strong><\/li>\n<\/ol>\n\n\n\n<p>It might take a few minutes; after it\u2019s been created, make sure you didn\u2019t switch back to <strong>Live <\/strong>and work in a <strong>Staging <\/strong>environment.<\/p>\n\n\n\n<p class=\"style-title-numecal\"><b><span>2<\/span> Step<\/b> <strong>\u2014 Update the PHP version<\/strong><\/p>\n\n\n\n<ol>\n<li>Go to the <strong>Tools <\/strong>tab at the website\u2019s dashboard menu.<\/li>\n\n\n\n<li>Find the <strong>PHP engine <\/strong>section.<\/li>\n\n\n\n<li>Click <strong>\u201cModify<\/strong>\u201d and choose the PHP version you want to be updated to from the drop-down menu:<\/li>\n<\/ol>\n\n\n\n<ol start=\"4\">\n<li>After that, you will see the pop-up warning window. Press the <strong>\u201cModify PHP version\u201d <\/strong>button. The process of updating may take up to a few minutes.&nbsp;<\/li>\n<\/ol>\n\n\n\n<p class=\"style-title-numecal\"><b><span>3<\/span> Step<\/b> <strong>\u2014 Test your website in the staging environment<\/strong><\/p>\n\n\n\n<p>Test your plugins and theme and ensure everything works properly on the front end. The debugging mode can help see all the error messages. For this, go to<strong> <\/strong><strong><em>Sites &gt; Tools &gt; WordPress Debugging<\/em><\/strong> and click <strong>\u201cEnable.\u201d<\/strong>&nbsp;<\/p>\n\n\n\n<p>In case something is conflicting, and you see error messages or just a white screen, deactivate all the plugins and then reactivate them one by one, detecting which one may cause the error and has a compatibility issue with the new PHP version. In most cases, everything goes smoothly on this step if you don\u2019t use very old plugins which are no longer being maintained and updated.&nbsp;<\/p>\n\n\n\n<p>If you have experienced any compatibility problems and had to change something in your website structure or code, you will need to use the <strong>Push Live<\/strong> option not to repeat the same actions on fixing your code on the Live website. Do it when you make all the fixes and make sure everything works smoothly. The <strong>\u201cPush Live\u201d<\/strong> button can be found on the drop-down menu at the top of the website dashboard.<\/p>\n\n\n\n<p class=\"style-title-numecal\"><b><span>4<\/span> Step<\/b> <strong>\u2014 Update the PHP version in the live environment<\/strong><\/p>\n\n\n\n<p>After you pushed the website live from the staging environment, or it wasn\u2019t necessary because you didn\u2019t experience any compatibility problems, switch to the Live environment and update the PHP version there (<strong><em>Sites &gt; Tools &gt; PHP engine &gt; Modify<\/em><\/strong>).<\/p>\n\n\n\n<p>The website users will not experience any downtime while the engine is updating and restarting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"update-php-with-siteground-hosting\"><strong>Update PHP with SiteGround Hosting&nbsp;<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/www.siteground.com\/crocoblock?afcode=be73023eab3fc746b4dcb5c92d077433&amp;campaign=crocoblock-hostingpage\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">SiteGround<\/a> is another hosting offering <a href=\"https:\/\/crocoblock.com\/blog\/what-is-wordpress-managed-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">managed WordPress<\/a> service. It has a pretty fast and easy process of PHP version update.&nbsp;<\/p>\n\n\n\n<p>The staging is unavailable on the Startup plan, so make sure you make a backup. They do daily backups automatically, but it\u2019s much better to do it right before making such big changes. Go to <strong><em>Dashboard &gt; Security &gt; Backups<\/em><\/strong> and create it.&nbsp;<\/p>\n\n\n\n<p>In the GrowBig and GoGeek pricing plans for the WordPress managed hosting, they have a staging feature, which is very handy for testing the website compatibility with the newest PHP version.&nbsp;<\/p>\n\n\n\n<p class=\"style-title-numecal\"><b><span>1<\/span> Step<\/b> <strong>\u2014 Create a staging copy of the website<\/strong><\/p>\n\n\n\n<ol>\n<li>Go to <strong><em>Dashboard &gt; WordPress &gt; Staging.<\/em><\/strong><\/li>\n\n\n\n<li>Name your staging copy and press<strong> \u201cCreate.\u201d<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"style-title-numecal\"><b><span>2<\/span> Step<\/b> <strong>\u2014 Update the PHP version for the staging copy<\/strong><\/p>\n\n\n\n<ol>\n<li>Go to <strong><em>Dashboard &gt; Devs &gt; PHP manager<\/em><\/strong><strong>.<\/strong><\/li>\n\n\n\n<li>Choose the <strong>Staging Sites <\/strong>tab.<\/li>\n\n\n\n<li>There you will see a current PHP version that runs your website:<\/li>\n<\/ol>\n\n\n\n<ol start=\"4\">\n<li>SiteGround updates PHP versions automatically by default. But you can do it manually, too. For that, press the pencil icon in front of the current PHP version, and choose a <strong>Manual Update<\/strong> option in the pop-up menu. Choose the PHP version you want to update to and confirm your choice:<\/li>\n<\/ol>\n\n\n\n<p class=\"style-title-numecal\"><b><span>3<\/span> Step<\/b> <strong>\u2014Test your staging copy<\/strong><\/p>\n\n\n\n<p>Make sure that everything runs smoothly on the front end of your website. If not, try to deactivate all the plugins and reactivate them one by one, detecting which might have a compatibility issue.&nbsp;<\/p>\n\n\n\n<p>If there were issues and you have done some work to get rid of them on the staging website, after ensuring everything works properly, go to <strong><em>WordPress &gt; Staging &gt; Staging Copies<\/em><\/strong>. In the <strong>Actions <\/strong>column in front of the latest staging version of your website, press the vertical dots icon and choose \u201cFull Deploy\u201d options from the pop-up menu:<\/p>\n\n\n\n<p>After that, the fixed version of the website will go live.&nbsp;<\/p>\n\n\n\n<p>If there were no compatibility issues with the staging copy, skip this deployment step.&nbsp;<\/p>\n\n\n\n<p class=\"style-title-numecal\"><b><span>4<\/span> Step<\/b> <strong>\u2014Update the PHP version of the live website<\/strong><\/p>\n\n\n\n<ol>\n<li>Go to <strong><em>Devs &gt; PHP Manager &gt; Live Sites tab<\/em>.&nbsp;<\/strong><\/li>\n\n\n\n<li>Repeat the same actions you have done for the staging site PHP update.&nbsp;<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\"><strong>FAQ<\/strong><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1661149382089\"><strong class=\"schema-faq-question\">Is it essential to have a current stable PHP version to run my WordPress website?<\/strong> <p class=\"schema-faq-answer\">Yes, it\u2019s crucial because it protects the website from security vulnerabilities and makes it work faster.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1661149397092\"><strong class=\"schema-faq-question\">Where can I find the information about the current stable PHP version and when the older versions become deprecated?<\/strong> <p class=\"schema-faq-answer\">You can find this information on the official PHP website on the <a href=\"https:\/\/www.php.net\/supported-versions.php\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>supported versions<\/strong><\/a> page.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1661149415518\"><strong class=\"schema-faq-question\">Is updating the PHP version take a long time and require some programming skills?<\/strong> <p class=\"schema-faq-answer\">No, it\u2019s a very fast and easy process. The only thing that can make it more difficult is if you have outdated plugins or a theme that is no longer being updated or unsupported by the new PHP version functions in your website\u2019s code.<\/p> <\/div> <\/div>\n\n\n\n<p>Now you know how to update the PHP version which runs your WordPress website. It\u2019s an easy process unless you experience some compatibility issues, which doesn\u2019t often happen if you maintain the website correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From this tutorial, you will learn how to update the PHP version in WordPress and why it is important.<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[269],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Updating the PHP Version of the WordPress Website<\/title>\n<meta name=\"description\" content=\"Find out how to update the PHP version running your WordPress website to increase the speed and stability of your project. Follow our step-by-step guide to upgrade your PHP straightforwardly.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updating the PHP Version of the WordPress Website\" \/>\n<meta property=\"og:description\" content=\"Find out how to update the PHP version running your WordPress website to increase the speed and stability of your project. Follow our step-by-step guide to upgrade your PHP straightforwardly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-04T12:17:46+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/\",\"name\":\"Updating the PHP Version of the WordPress Website\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-11-04T21:16:07+00:00\",\"dateModified\":\"2023-09-04T12:17:46+00:00\",\"description\":\"Find out how to update the PHP version running your WordPress website to increase the speed and stability of your project. Follow our step-by-step guide to upgrade your PHP straightforwardly.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149382089\"},{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149397092\"},{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149415518\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Update the PHP Version of the WordPress Website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Question\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149382089\",\"position\":1,\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149382089\",\"name\":\"Is it essential to have a current stable PHP version to run my WordPress website?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, it\u2019s crucial because it protects the website from security vulnerabilities and makes it work faster.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149397092\",\"position\":2,\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149397092\",\"name\":\"Where can I find the information about the current stable PHP version and when the older versions become deprecated?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You can find this information on the official PHP website on the u003ca href=u0022https:\/\/www.php.net\/supported-versions.phpu0022 target=u0022_blanku0022 rel=u0022noreferrer noopener nofollowu0022u003eu003cstrongu003esupported versionsu003c\/strongu003eu003c\/au003e page.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149415518\",\"position\":3,\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149415518\",\"name\":\"Is updating the PHP version take a long time and require some programming skills?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No, it\u2019s a very fast and easy process. The only thing that can make it more difficult is if you have outdated plugins or a theme that is no longer being updated or unsupported by the new PHP version functions in your website\u2019s code.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Updating the PHP Version of the WordPress Website","description":"Find out how to update the PHP version running your WordPress website to increase the speed and stability of your project. Follow our step-by-step guide to upgrade your PHP straightforwardly.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/","og_locale":"en_US","og_type":"article","og_title":"Updating the PHP Version of the WordPress Website","og_description":"Find out how to update the PHP version running your WordPress website to increase the speed and stability of your project. Follow our step-by-step guide to upgrade your PHP straightforwardly.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/","og_site_name":"Help Center","article_modified_time":"2023-09-04T12:17:46+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/","url":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/","name":"Updating the PHP Version of the WordPress Website","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-11-04T21:16:07+00:00","dateModified":"2023-09-04T12:17:46+00:00","description":"Find out how to update the PHP version running your WordPress website to increase the speed and stability of your project. Follow our step-by-step guide to upgrade your PHP straightforwardly.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149382089"},{"@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149397092"},{"@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149415518"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Update the PHP Version of the WordPress Website"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}},{"@type":"Question","@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149382089","position":1,"url":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149382089","name":"Is it essential to have a current stable PHP version to run my WordPress website?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes, it\u2019s crucial because it protects the website from security vulnerabilities and makes it work faster.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149397092","position":2,"url":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149397092","name":"Where can I find the information about the current stable PHP version and when the older versions become deprecated?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"You can find this information on the official PHP website on the u003ca href=u0022https:\/\/www.php.net\/supported-versions.phpu0022 target=u0022_blanku0022 rel=u0022noreferrer noopener nofollowu0022u003eu003cstrongu003esupported versionsu003c\/strongu003eu003c\/au003e page.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149415518","position":3,"url":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-update-the-php-version-of-the-wordpress-website\/#faq-question-1661149415518","name":"Is updating the PHP version take a long time and require some programming skills?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No, it\u2019s a very fast and easy process. The only thing that can make it more difficult is if you have outdated plugins or a theme that is no longer being updated or unsupported by the new PHP version functions in your website\u2019s code.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/30194"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=30194"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=30194"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=30194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}