{"id":35949,"date":"2024-04-16T13:22:43","date_gmt":"2024-04-16T13:22:43","guid":{"rendered":"https:\/\/10web.io\/blog\/?p=35949"},"modified":"2026-01-12T13:28:16","modified_gmt":"2026-01-12T13:28:16","slug":"how-to-update-php-in-wordpress","status":"publish","type":"post","link":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/","title":{"rendered":"How to Update PHP in WordPress"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Updating PHP in WordPress can significantly enhance your site&#8217;s performance and security. PHP is the scripting language that powers WordPress, and just like the content management system itself, it&#8217;s important to keep it up to date. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">New PHP versions bring improvements such as increased speed and patch security vulnerabilities. Your website&#8217;s overall health depends on running a supported PHP version, which ensures compatibility with the latest plugins and themes.<\/span><\/p>\n<p>Don&#8217;t worry if you&#8217;re not a tech wizard \u2013 updating PHP is easier than you think! We&#8217;ll walk you through the process step by step, whether you prefer using the WordPress dashboard, cPanel, or getting help from your hosting provider. Plus, we&#8217;ll make sure you create a backup of your site before making any changes, so you can update with confidence.<\/p>\n<h2><span style=\"font-weight: 400;\">FAQ<\/span><\/h2>\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">How can I update my PHP version in WordPress if I don't have access to cPanel?<\/p>\n    <div class=\"faq_content\"><br \/>\nIf you don&#8217;t have cPanel access, you can update your PHP version through your hosting provider&#8217;s dashboard. Look for a section related to PHP configuration or website settings, where you can select and apply a new PHP version.<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">Can I update the PHP version for my WordPress site through the 10Web dashboard?<\/p>\n    <div class=\"faq_content\"><br \/>\nYes, you can update the PHP version for your WordPress site through 10Web\u2019s dashboard. This option is available in the website&#8217;s Hosting Services page in the Tools section.<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">Is there a way to upgrade the PHP version for a local WordPress environment on my computer?<\/p>\n    <div class=\"faq_content\"><br \/>\nFor a local WordPress environment, update the PHP version by altering your local server software. This often means using applications like MAMP, WAMP, or XAMPP, where you can download and switch to newer PHP versions in their respective settings.<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">How can I ensure my WordPress site is compatible with the updated PHP version after an upgrade?<\/p>\n    <div class=\"faq_content\"><br \/>\nTo ensure compatibility, run a<a href=\"https:\/\/10web.io\/blog\/your-php-installation-missing-the-mysql-extension-required-by-wordpress\/\"> PHP compatibility check<\/a> on your site using a WordPress plugin designed for this purpose. It helps to identify themes or plugins that might not be compatible with the new PHP version so you can update or replace them.<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">What are the implications of not updating to the latest PHP version for my WordPress website?<\/p>\n    <div class=\"faq_content\"><br \/>\nNot updating to the latest PHP version can lead to security vulnerabilities, slower performance, and incompatibility issues with new plugins and themes.<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">Can I use a plugin to update the PHP version in WordPress, and how does that work?<\/p>\n    <div class=\"faq_content\"><br \/>\nWhile you can&#8217;t directly update the PHP version with a plugin, some plugins help to assess your site&#8217;s readiness for a PHP upgrade. The actual update process needs to be done through your hosting provider&#8217;s control panel.<\/div>\n<\/div>\n\n<h2><span style=\"font-weight: 400;\">Preparing to update PHP in WordPress<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Before updating the PHP version of your WordPress site, it&#8217;s crucial to take certain preparatory steps to ensure the process is smooth and risk-free.<\/span><\/p>\n<p><b>Backup your site<\/b><span style=\"font-weight: 400;\">: Always start by backing up your WordPress site. A backup ensures that you can restore your site to its previous state if something goes wrong during the update.<\/span><\/p>\n<p><b>Plugins and themes update<\/b><span style=\"font-weight: 400;\">: Ensure all your plugins and themes are up to date. This minimizes the risk of compatibility issues with the new PHP version.<\/span><\/p>\n<p><b>Create a staging site<\/b><span style=\"font-weight: 400;\">: If possible, set up a<\/span><a href=\"https:\/\/10web.io\/blog\/how-to-set-up-a-wordpress-staging-site\/\"> <span style=\"font-weight: 400;\">staging site<\/span><\/a><span style=\"font-weight: 400;\"> to test your new PHP version. This is a clone of your live site where you can test the PHP update without affecting your real site.<\/span><\/p>\n<p><b>Check PHP version compatibility<\/b><span style=\"font-weight: 400;\">: Make sure that your site is compatible with the new PHP version.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">How to check your PHP version<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">You can check the version of PHP you are using from the WordPress dashboard.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress.jpg\" alt=\"PHP version check in WordPress\" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-33916\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/PHP-version-check-in-WordPress-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<ol class=\"\u201dblack\u201d\">\n<li style=\"list-style-type: none;\">\n<ol class=\"\u201dblack\u201d\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Tools &gt; Site Health.<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click on the <\/span><b>Info<\/b><span style=\"font-weight: 400;\"> tab and expand the <\/span><b>Server<\/b><span style=\"font-weight: 400;\"> category.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Check your current PHP version and ensure your site supports the intended update.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">By following these steps, you\u2019re setting a solid foundation for a successful PHP upgrade. Remember, keeping your PHP version up to date is important for security and performance, but taking these preliminary actions will ensure you do it the right way.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Use PHP compatibility checker<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">To assess whether your site is ready for a<\/span> <span style=\"font-weight: 400;\">PHP upgrade<\/span><span style=\"font-weight: 400;\">, utilize the<\/span> <b>PHP Compatibility Checker<\/b><span style=\"font-weight: 400;\"> plugin. Here&#8217;s how you can use this tool in a few simple steps:<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Install the <\/span><b>PHP Compatibility Checker<\/b><span style=\"font-weight: 400;\"> plugin from the WordPress plugin repository.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Activate the plugin, and go to <\/span><strong>Tools<\/strong><span style=\"font-weight: 400;\"> &gt; <\/span><strong>PHP Compatibility<\/strong><span style=\"font-weight: 400;\"> in your WordPress dashboard.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Choose if you want to scan only active or all plugins.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Scan site<\/b><span style=\"font-weight: 400;\"> button to start the compatibility check.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker.jpg\" alt=\"Using PHP compatibility checker to check plugin and theme compatibility with PHP version.\" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-35965\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Using-PHP-compatibility-checker-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The plugin will run a scan and provide a detailed report that highlights any compatibility issues.<\/span><\/p>\n\r\n<style>\r\n  #ctablocks_inline_92{\r\n          background-color: #000000;\r\n        color: #ffffff;\r\n    border-radius: 6px;\r\n  }\r\n\r\n  #ctablocks_inline_92 p{\r\n    color: #ffffff;\r\n  }\r\n  #ctablocks_inline_92 .button{\r\n        background-color: rgb(51,57,241);\r\n      color: #ffffff;\r\n    border-color: #3339f1 !important;\r\n  }\r\n  #ctablocks_inline_92 .button:hover{\r\n    background: rgba(51,57,241,0.8);\r\n    color: #ffffff;\r\n    opacity: 1;\r\n  }\r\n        #ctablocks_inline_92 .ctablocks_content_info p {\r\n        padding-left: 36px;\r\n      }\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px;\r\n      }\r\n  @media screen and (min-width: 768px) and (max-width: 1260px) {\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px !important;\r\n      }\r\n  }\r\n  ;\r\n<\/style>\r\n<div id=\"ctablocks_inline_92\" class=\"ctablocks_container inline_type\r\n        \">\r\n\r\n  <div class=\"ctablocks_content clear\">\r\n    <div class=\"ctablocks_content_info\">\r\n      \r\n            <div class=\"title-wrap\">\r\n\t\t\t\t\t                  <img decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/info-icon-cta.png\" alt=\"Simplify WordPress with 10Web\" title=\"Simplify WordPress with 10Web\">\r\n\t\t\t\t\t            <h4>Simplify WordPress with 10Web<\/h4>\r\n        <\/div>\r\n              <p>Automate manual work with 10Web Managed WordPress Hosting and 10Web AI Website Builder. Optimize your WordPress website effortlessly. <\/p>\r\n          <\/div>\r\n    <div class=\"ctablocks_content_button\">\r\n              <a href=\"https:\/\/10web.io\/ai-website-builder\/\" class=\"button\" data-gtag=\"sign-up-blog\" data-buttontype=\"sign-up\" data-gtag=\"cta-92\" data-buttontype=\"cta-inline\"\r\n\t        >Learn How<\/a>\r\n            \r\n    <\/div>\r\n  <\/div>\r\n    <\/div>\r\n\n<h3><span style=\"font-weight: 400;\">Review plugin and theme compatibility<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Aside from using a PHP Compatibility Checker, it&#8217;s a good idea to manually check the compatibility of your <\/span><b>themes<\/b><span style=\"font-weight: 400;\"> and <\/span><b>plugins<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">Plugins<\/span><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility.jpg\" alt=\"Image showing 10Web booster plugin information with PHP compatibility highlighted. \" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-35966\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Plugin-PHP-compatibility-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Visit the plugin&#8217;s page in the <\/span><b>WordPress Plugin Directory<\/b><span style=\"font-weight: 400;\"> and check the section <\/span><b>Tested up to<\/b><span style=\"font-weight: 400;\">. This should mention the latest WordPress version the plugin is tested with, which often correlates with PHP compatibility.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Check the <\/span><b>Changelog<\/b><span style=\"font-weight: 400;\"> for recent updates and mentions of PHP version compatibility.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400;\">Themes<\/span><\/h4>\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Check the theme&#8217;s details in the <\/span><b>WordPress Theme Directory<\/b><span style=\"font-weight: 400;\"> or the theme developer&#8217;s website for compatibility information.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Review the theme&#8217;s <\/span><b>update logs<\/b><span style=\"font-weight: 400;\"> for any notes on PHP version support.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Keep in mind that <\/span><a href=\"https:\/\/10web.io\/plugins\/\"><span style=\"font-weight: 400;\">plugins<\/span><\/a> <span style=\"font-weight: 400;\">or themes not listed in the official WordPress directories may need you to contact the developer directly for compatibility information. Always ensure that all components of your website are compatible to avoid any disruptions to your site&#8217;s functionality.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">How to update PHP in 10Web<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If your website is hosted on 10Web, updating your PHP version boils down to a few clicks. First and foremost, you should make a complete <\/span><a href=\"https:\/\/help.10web.io\/hc\/en-us\/articles\/360016388951-10Web-Backup-Service\"><span style=\"font-weight: 400;\">backup<\/span><\/a><span style=\"font-weight: 400;\"> of your website. Once your backup is done, go ahead and <\/span><span style=\"font-weight: 400;\">enable the staging environment<\/span><span style=\"font-weight: 400;\"> of your website. Now you are ready to update the PHP version of your WordPress site, test it, then push it to live. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let\u2019s walk through all the steps:<\/span><\/p>\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Log in to your 10Web dashboard.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click on the website where you want to update the PHP.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Navigate to <\/span><b>Backups<\/b><span style=\"font-weight: 400;\">, click on the <\/span><b>Settings tab<\/b><span style=\"font-weight: 400;\">. Make sure that both files and database are checked.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now.jpg\" alt=\"10Web Backup now with settings tab open showing both files and directories selected.\" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-27498\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/10Web-Backup-now-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Backup Now<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After the backup has been created, click on the Live<\/span><b> Environment<\/b><span style=\"font-weight: 400;\"> drop down menu and choose <\/span><b>Staging Environment<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web.jpg\" alt=\"The 10Web dashboard and the environment drop down menu is open with Staging Environment selected. \" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-35967\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Staging-environment-in-10Web-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Now that you&#8217;re in the staging environment, you\u2019re ready to test the new PHP version. <\/span><\/p>\n<ol class=\"black\">\n<li><span style=\"font-weight: 400;\">Navigate to<strong> Hosting Services<\/strong> &gt; <strong>Tools<\/strong>.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Scroll down to the<strong> PHP version<\/strong>.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click on the drop down and choose the version you want to update to.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web.jpg\" alt=\"Changing PHP version in 10Web\" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-28113\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/Changing-PHP-version-in-10Web-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">If the version runs smoothly on your staging site, you can <\/span><span style=\"font-weight: 400;\">push it to live with a single click<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n\r\n<style>\r\n  #ctablocks_inline_92{\r\n          background-color: #000000;\r\n        color: #ffffff;\r\n    border-radius: 6px;\r\n  }\r\n\r\n  #ctablocks_inline_92 p{\r\n    color: #ffffff;\r\n  }\r\n  #ctablocks_inline_92 .button{\r\n        background-color: rgb(51,57,241);\r\n      color: #ffffff;\r\n    border-color: #3339f1 !important;\r\n  }\r\n  #ctablocks_inline_92 .button:hover{\r\n    background: rgba(51,57,241,0.8);\r\n    color: #ffffff;\r\n    opacity: 1;\r\n  }\r\n        #ctablocks_inline_92 .ctablocks_content_info p {\r\n        padding-left: 36px;\r\n      }\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px;\r\n      }\r\n  @media screen and (min-width: 768px) and (max-width: 1260px) {\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px !important;\r\n      }\r\n  }\r\n  ;\r\n<\/style>\r\n<div id=\"ctablocks_inline_92\" class=\"ctablocks_container inline_type\r\n        \">\r\n\r\n  <div class=\"ctablocks_content clear\">\r\n    <div class=\"ctablocks_content_info\">\r\n      \r\n            <div class=\"title-wrap\">\r\n\t\t\t\t\t                  <img decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/info-icon-cta.png\" alt=\"Simplify WordPress with 10Web\" title=\"Simplify WordPress with 10Web\">\r\n\t\t\t\t\t            <h4>Simplify WordPress with 10Web<\/h4>\r\n        <\/div>\r\n              <p>Automate manual work with 10Web Managed WordPress Hosting and 10Web AI Website Builder. Optimize your WordPress website effortlessly. <\/p>\r\n          <\/div>\r\n    <div class=\"ctablocks_content_button\">\r\n              <a href=\"https:\/\/10web.io\/ai-website-builder\/\" class=\"button\" data-gtag=\"sign-up-blog\" data-buttontype=\"sign-up\" data-gtag=\"cta-92\" data-buttontype=\"cta-inline\"\r\n\t        >Learn How<\/a>\r\n            \r\n    <\/div>\r\n  <\/div>\r\n    <\/div>\r\n\n<h2><span style=\"font-weight: 400;\">How to update PHP using cPanel<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Now that you&#8217;ve ensured that you are choosing a compatible version and that your hosting control panel provides the necessary tools for update, it\u2019s time to carry out the update. Here&#8217;s a quick guide using<\/span> <b>cPanel<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<p><b>Note<\/b><span style=\"font-weight: 400;\">: You can <\/span><a href=\"https:\/\/10web.io\/blog\/how-to-set-up-a-wordpress-staging-site\/\"><span style=\"font-weight: 400;\">set up a staging site <\/span><\/a><span style=\"font-weight: 400;\">to test the PHP version before implementing the changes on yor live site. <\/span><\/p>\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Log into your cPanel.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Navigate to the <\/span><b>Software<\/b><span style=\"font-weight: 400;\"> section and click on <\/span><b>Select PHP Version<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel.jpg\" alt=\"PHP version selected in the cPanel dashboard. \" width=\"1560\" height=\"686\" class=\"alignnone size-full wp-image-35974\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel-742x326.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel-1484x653.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel-150x66.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel-768x338.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel-1536x675.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Changing-PHP-version-in-cPanel-600x264.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">From the PHP version drop-down menu, choose the version you wish to use (e.g., PHP 8.3).<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Set as current<\/b><span style=\"font-weight: 400;\"> to apply the PHP version to your server.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel.jpg\" alt=\"PHP selector in cPanel for updating the PHP version of WordPress.\" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-35977\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/PHP-selector-in-cPanel-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<h3><span style=\"font-weight: 400;\">Verify the update<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">After updating, it&#8217;s important to <\/span><b>verify<\/b><span style=\"font-weight: 400;\"> that your WordPress site is running the new PHP version:<\/span><\/p>\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">From your WordPress dashboard, go to <\/span><b>Tools<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Site Health<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Check the <\/span><b>Info tab<\/b><span style=\"font-weight: 400;\"> and <\/span><b>expand<\/b><span style=\"font-weight: 400;\"> the <\/span><strong>Server<\/strong><span style=\"font-weight: 400;\"> section.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Look for the <\/span><b>PHP version<\/b><span style=\"font-weight: 400;\"> to confirm the update has been successful.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Remember, keeping your PHP version updated is key to ensuring your site&#8217;s speed and security.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">After the update<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Once you&#8217;ve successfully updated PHP in your WordPress site, the primary focus should shift to ensuring everything runs as smoothly as anticipated. Your vigilance during this phase is critical for maintaining the site\u2019s performance and security.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Troubleshooting common issues<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Troubleshooting is a key step after updating PHP because it keeps your site functioning properly. Keep an eye out for these common issues:<\/span><\/p>\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/10web.io\/blog\/how-to-fix-the-wordpress-white-screen-of-death\/\"><b>White screen of death<\/b><\/a><b>:<\/b><span style=\"font-weight: 400;\"> If you see a blank screen, it might be due to a theme or plugin conflict with the new PHP version. Try disabling all plugins and revert to a default theme to isolate the problem.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Error messages:<\/b><span style=\"font-weight: 400;\"> Messages such as \u201c500 Internal Server Error\u201d can be concerning but often stem from incorrect PHP file permissions. Check your file permissions to ensure they are set correctly (usually 644 for files and 755 for directories).<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Should your site encounter other issues, consult your hosting provider\u2019s support or look up specific WordPress community forums that specialize in troubleshooting.<\/span><\/p>\n\r\n<style>\r\n  #ctablocks_inline_92{\r\n          background-color: #000000;\r\n        color: #ffffff;\r\n    border-radius: 6px;\r\n  }\r\n\r\n  #ctablocks_inline_92 p{\r\n    color: #ffffff;\r\n  }\r\n  #ctablocks_inline_92 .button{\r\n        background-color: rgb(51,57,241);\r\n      color: #ffffff;\r\n    border-color: #3339f1 !important;\r\n  }\r\n  #ctablocks_inline_92 .button:hover{\r\n    background: rgba(51,57,241,0.8);\r\n    color: #ffffff;\r\n    opacity: 1;\r\n  }\r\n        #ctablocks_inline_92 .ctablocks_content_info p {\r\n        padding-left: 36px;\r\n      }\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px;\r\n      }\r\n  @media screen and (min-width: 768px) and (max-width: 1260px) {\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px !important;\r\n      }\r\n  }\r\n  ;\r\n<\/style>\r\n<div id=\"ctablocks_inline_92\" class=\"ctablocks_container inline_type\r\n        \">\r\n\r\n  <div class=\"ctablocks_content clear\">\r\n    <div class=\"ctablocks_content_info\">\r\n      \r\n            <div class=\"title-wrap\">\r\n\t\t\t\t\t                  <img decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/info-icon-cta.png\" alt=\"Simplify WordPress with 10Web\" title=\"Simplify WordPress with 10Web\">\r\n\t\t\t\t\t            <h4>Simplify WordPress with 10Web<\/h4>\r\n        <\/div>\r\n              <p>Automate manual work with 10Web Managed WordPress Hosting and 10Web AI Website Builder. Optimize your WordPress website effortlessly. <\/p>\r\n          <\/div>\r\n    <div class=\"ctablocks_content_button\">\r\n              <a href=\"https:\/\/10web.io\/ai-website-builder\/\" class=\"button\" data-gtag=\"sign-up-blog\" data-buttontype=\"sign-up\" data-gtag=\"cta-92\" data-buttontype=\"cta-inline\"\r\n\t        >Learn How<\/a>\r\n            \r\n    <\/div>\r\n  <\/div>\r\n    <\/div>\r\n\n<h3><span style=\"font-weight: 400;\">Monitor site performance<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">After resolving any initial issues, it&#8217;s time to monitor your site\u2019s performance:<\/span><\/p>\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ol class=\"black\">\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/10web.io\/blog\/wordpress-seo-audit-checklist\/\"><b>Site health<\/b><\/a><b>:<\/b><span style=\"font-weight: 400;\"> WordPress comes with a Site Health feature that can be very helpful. Navigate to <\/span><b>Tools &gt; Site Health<\/b><span style=\"font-weight: 400;\"> and review any recommendations.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Load times:<\/b><span style=\"font-weight: 400;\"> Use tools like Google PageSpeed Insights to check if your site is loading faster post-update.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/help.10web.io\/hc\/en-us\/articles\/360030774911-How-to-Access-the-Server-Logs-of-Your-Website\"><b>Error logs<\/b><\/a><span style=\"font-weight: 400;\">: Check your error logs for anything unusual.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Monitoring performance can provide insights into the benefits of the PHP update, such as improved site speed or better handling of traffic, which together enhance site functionality and user experience. Keep a regular check and ensure all security updates are applied to protect the integrity of your site.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Remember, your site\u2019s health and performance are continual responsibilities\u2014regular checks can preempt many issues before they affect your site&#8217;s operation.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Updating PHP in WordPress is important for enhancing your website&#8217;s performance and security. By staying current with PHP versions, you ensure optimal compatibility with themes, plugins, and the core WordPress system. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The process of updating PHP, though straightforward, requires careful planning and execution. Ensuring compatibility through tools like the PHP Compatibility Checker plugin, updating in a staging environment, and keeping backups are crucial steps to mitigate risks. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">After the update, continuous monitoring and troubleshooting ensure that the site maintains its functionality and security. Ultimately, regular PHP updates are not just a technical requirement; they are essential to maintaining a robust, secure, and fast-loading website.<\/span><\/p>\n<p>\r\n<style>\r\n  #ctablocks_scrollbox-with-icon_91{\r\n            color: #ffffff;\r\n    border-radius: 6px;\r\n  }\r\n\r\n  #ctablocks_scrollbox-with-icon_91 p{\r\n    color: #ffffff;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91 .button{\r\n          background-color: rgb(51,57,241);\r\n        color: #ffffff;\r\n    border-color: #3339f1 !important;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91 .button:hover{\r\n    background: rgba(51,57,241,0.8);\r\n    color: #ffffff;\r\n    opacity: 1;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91.ctablocks_container {\r\n    left: 100%;\r\n  }\r\n  @media screen and (max-width: 1300px) {\r\n      #ctablocks_scrollbox-with-icon_91.ctablocks_container {\r\n          left: 0;\r\n          margin: 0 auto;\r\n      }\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91 .ctablocks_content {\r\n      background-color: #000000;\r\n  }\r\n<\/style>\r\n<div id=\"ctablocks_scrollbox-with-icon_91\" class=\"ctablocks_container scrollbox-with-icon_type\r\n      \">\r\n\r\n  <div class=\"ctablocks_content clear\">\r\n    <div class=\"ctablocks_content_info\">\r\n              <h4>Simplify WordPress with 10Web<\/h4>\r\n        <h4 class=\"mobile-title\">Simplify WordPress with 10Web<\/h4>\r\n              <p>Skip and automate manual work with 10Web Managed WordPress Hosting and the 10Web AI Website Builder.<\/p>\r\n          <\/div>\r\n    <div class=\"ctablocks_content_button\">\r\n              <a href=\"https:\/\/10web.io\/ai-website-builder\/\" class=\"button\" data-gtag=\"sign-up-blog\" data-buttontype=\"sign-up\" data-gtag=\"cta-91\" data-buttontype=\"cta-scrollbox-with-icon\"\r\n\t        >Learn How<\/a>\r\n            \r\n    <\/div>\r\n  <\/div>\r\n    <span class=\"close_ctablocks\">\r\n      <img decoding=\"async\" class=\"close-icon\" src=\"https:\/\/10web.io\/blog\/wp-content\/plugins\/cta-blocks\/assets\/images\/close_w.svg\" class=\"close\">\r\n      <img decoding=\"async\" class=\"floating-icon\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Info-icon_Blog.png\" alt=\"Simplify WordPress with 10Web\" title=\"Simplify WordPress with 10Web\">\r\n<!--      <img decoding=\"async\" class=\"arrow-icon white\" src=\"\/cta-blocks\/assets\/images\/arrow-icon.svg\" class=\"close\">\r\n-->      <img decoding=\"async\" class=\"arrow-icon purple\" src=\"https:\/\/10web.io\/blog\/wp-content\/plugins\/cta-blocks\/assets\/images\/arrow-icon-purple.svg\" class=\"close\">\r\n  <\/span>\r\n<\/div>\r\n<br \/>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updating PHP in WordPress can significantly enhance your site&#8217;s performance and security. PHP is the scripting language that powers WordPress, and just like the content management system itself, it&#8217;s important to keep it up to date. New PHP versions bring improvements such as increased speed and patch security vulnerabilities. Your website&#8217;s overall health depends on running a supported PHP version,&#8230;<\/p>\n","protected":false},"author":11,"featured_media":34943,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"two_page_speed":[],"footnotes":"","tenweb_blog_toc":"<ul><li><a href=\"#faq\">FAQ<\/a><li><a href=\"#preparing-to-update-php-in-wordpress\">Preparing to update PHP in WordPress<\/a><ul><li><a href=\"#how-to-check-your-php-version\">How to check your PHP version<\/a><li><a href=\"#use-php-compatibility-checker\">Use PHP compatibility checker<\/a><li><a href=\"#review-plugin-and-theme-compatibility\">Review plugin and theme compatibility<\/a><\/li><\/ul><li><a href=\"#how-to-update-php-in-10web\">How to update PHP in 10Web<\/a><li><a href=\"#how-to-update-php-using-cpanel\">How to update PHP using cPanel<\/a><ul><li><a href=\"#verify-the-update\">Verify the update<\/a><\/li><\/ul><li><a href=\"#after-the-update\">After the update<\/a><ul><li><a href=\"#troubleshooting-common-issues\">Troubleshooting common issues<\/a><li><a href=\"#monitor-site-performance\">Monitor site performance<\/a><\/li><\/ul><li><a href=\"#conclusion\">Conclusion<\/a><\/li><\/ul>","tenweb_blog_competitor_type":"","tenweb_blog_competitor_names":"","tenweb_blog_twb_version":0,"tenweb_blog_type":""},"categories":[463],"tags":[],"class_list":["post-35949","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.0 (Yoast SEO v23.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Update PHP in WordPress - 10Web<\/title>\n<meta name=\"description\" content=\"Keep your WordPress site secure and efficient. Learn how to update PHPs and ensure compatibility with the latest plugins and themes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Update PHP in WordPress\" \/>\n<meta property=\"og:description\" content=\"Keep your WordPress site secure and efficient. Learn how to update PHPs and ensure compatibility with the latest plugins and themes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"10Web - Build &amp; Host Your WordPress Website\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/10Web.io\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-16T13:22:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-12T13:28:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/update_php_in_wordpress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1569\" \/>\n\t<meta property=\"og:image:height\" content=\"880\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tigran Nazaryan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@10Web_io\" \/>\n<meta name=\"twitter:site\" content=\"@10Web_io\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tigran Nazaryan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Update PHP in WordPress - 10Web","description":"Keep your WordPress site secure and efficient. Learn how to update PHPs and ensure compatibility with the latest plugins and themes.","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:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Update PHP in WordPress","og_description":"Keep your WordPress site secure and efficient. Learn how to update PHPs and ensure compatibility with the latest plugins and themes.","og_url":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/","og_site_name":"10Web - Build &amp; Host Your WordPress Website","article_publisher":"https:\/\/www.facebook.com\/10Web.io\/","article_published_time":"2024-04-16T13:22:43+00:00","article_modified_time":"2026-01-12T13:28:16+00:00","og_image":[{"width":1569,"height":880,"url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/update_php_in_wordpress.jpg","type":"image\/jpeg"}],"author":"Tigran Nazaryan","twitter_card":"summary_large_image","twitter_creator":"@10Web_io","twitter_site":"@10Web_io","twitter_misc":{"Written by":"Tigran Nazaryan","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/"},"author":{"name":"Tigran Nazaryan","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/9466e64f67fc213397b384bbe3af3bd0"},"headline":"How to Update PHP in WordPress","datePublished":"2024-04-16T13:22:43+00:00","dateModified":"2026-01-12T13:28:16+00:00","mainEntityOfPage":{"@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/"},"wordCount":1710,"commentCount":0,"publisher":{"@id":"https:\/\/10web.io\/blog\/#organization"},"image":{"@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/update_php_in_wordpress.jpg","articleSection":["Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/","url":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/","name":"How to Update PHP in WordPress - 10Web","isPartOf":{"@id":"https:\/\/10web.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/update_php_in_wordpress.jpg","datePublished":"2024-04-16T13:22:43+00:00","dateModified":"2026-01-12T13:28:16+00:00","description":"Keep your WordPress site secure and efficient. Learn how to update PHPs and ensure compatibility with the latest plugins and themes.","breadcrumb":{"@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#primaryimage","url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/update_php_in_wordpress.jpg","contentUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/update_php_in_wordpress.jpg","width":1569,"height":880,"caption":"How to update PHP in WordPress."},{"@type":"BreadcrumbList","@id":"https:\/\/10web.io\/blog\/how-to-update-php-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/10web.io\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Update PHP in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/10web.io\/blog\/#website","url":"https:\/\/10web.io\/blog\/","name":"10Web Blog - Build & Host Your WordPress Website","description":"10Web is an All-in-One Website Building Platform, offering Managed WordPress Hosting on Google Cloud, Beautiful Templates, Premium Plugins and Services.","publisher":{"@id":"https:\/\/10web.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/10web.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/10web.io\/blog\/#organization","name":"10Web","url":"https:\/\/10web.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2025\/04\/Logo-768x686-1.png","contentUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2025\/04\/Logo-768x686-1.png","width":768,"height":686,"caption":"10Web"},"image":{"@id":"https:\/\/10web.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/10Web.io\/","https:\/\/x.com\/10Web_io","https:\/\/www.instagram.com\/10web.io\/","https:\/\/www.linkedin.com\/company\/10web\/mycompany\/","https:\/\/www.youtube.com\/c\/10Web"]},{"@type":"Person","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/9466e64f67fc213397b384bbe3af3bd0","name":"Tigran Nazaryan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ce2393558e7591a237212f11acac58fb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ce2393558e7591a237212f11acac58fb?s=96&d=mm&r=g","caption":"Tigran Nazaryan"},"description":"Tigran Nazaryan is an experienced science and technology professional. After seeing great potential in the automation of web development, he co-founded and became CInO of 10Web. Tigran is passionate about creating solutions to bring AI automation into web development and turning great ideas into powerful technological achievements.","sameAs":["https:\/\/www.linkedin.com\/in\/tnazaryan\/"],"url":"https:\/\/10web.io\/blog\/author\/tigran\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts\/35949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/comments?post=35949"}],"version-history":[{"count":0,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts\/35949\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/media\/34943"}],"wp:attachment":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/media?parent=35949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/categories?post=35949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/tags?post=35949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}