{"id":28802,"date":"2021-12-03T08:37:00","date_gmt":"2021-12-03T14:37:00","guid":{"rendered":"https:\/\/www.hostgator.com\/blog\/?p=28802"},"modified":"2021-12-01T13:36:45","modified_gmt":"2021-12-01T19:36:45","slug":"update-php-wordpress","status":"publish","type":"post","link":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/","title":{"rendered":"How to Update PHP on My WordPress Site"},"content":{"rendered":"\n<p>If you host a website, your speed and security are only as good as your PHP version.&nbsp;<\/p>\n\n\n\n<p>The problem? For the average WordPress seller or blogger, updating your PHP sounds a tad like getting into the weeds.&nbsp;<\/p>\n\n\n\n<p>You created a website so you could sell homemade candles or blog about reality TV-now someone is telling you to <a href=\"https:\/\/www.hostgator.com\/blog\/learn-code-places\/\">learn programming languages<\/a>? Yeah, right. You might not fully understand what it does, and you certainly don\u2019t spend most of your day thinking about it.&nbsp;<\/p>\n\n\n\n<p>But it\u2019s important-and updating it can be easier than you think.&nbsp;<\/p>\n\n\n\n<p>With that in mind, let\u2019s explore why-and how-you should update your PHP to keep your WordPress site up to date.<\/p>\n\n\n<div class=\"hgrp\"><h4>You might like&#8230;<\/h4><ul><li><span class=\"prod-icon\"><a href=\"https:\/\/www.hostgator.com\/web-hosting\" data-element-location=\"body.post_content.related_prod_block\" data-element-type=\"button\" data-element-label=\"shared_hosting\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/shared-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/shared-150x150.png 150w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/shared-300x300.png 300w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/shared.png 500w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><\/span><a href=\"https:\/\/www.hostgator.com\/web-hosting\" class=\"hgrp-link\" data-element-location=\"body.post_content.related_prod_block\" data-element-type=\"link\" data-element-label=\"shared_hosting\">Shared Hosting<\/a><\/li><li><span class=\"prod-icon\"><a href=\"https:\/\/www.hostgator.com\/managed-wordpress-hosting\" data-element-location=\"body.post_content.related_prod_block\" data-element-type=\"button\" data-element-label=\"wordpress_hosting\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/wp-hosting-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/wp-hosting-150x150.png 150w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/wp-hosting-300x300.png 300w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2020\/11\/wp-hosting.png 500w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><\/span><a href=\"https:\/\/www.hostgator.com\/managed-wordpress-hosting\" class=\"hgrp-link\" data-element-location=\"body.post_content.related_prod_block\" data-element-type=\"link\" data-element-label=\"wordpress_hosting\">WordPress Hosting<\/a><\/li><\/ul><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-the-wordpress-php-and-why-bother-updating-it\">What is the WordPress PHP (and why bother updating it)?<\/h2>\n\n\n\n<p>PHP is a slightly-confusing acronym for <strong>hypertext preprocessor<\/strong>. In short, it\u2019s an open-source scripting language forming the core of what makes WordPress work. It encrypts data for better security. It also forms the infrastructure for posting your dynamic blog content through the <a href=\"https:\/\/www.hostgator.com\/blog\/what-is-wordpress\/\">WordPress CMS<\/a>.&nbsp;<\/p>\n\n\n\n<p>Think of it as the tracks that keep your WordPress site\u2019s train gliding smoothly.<\/p>\n\n\n\n<p>Like WordPress itself, PHP has <em>versions<\/em>. These versions evolve with the web, adding features to keep your site secure.<\/p>\n\n\n\n<p>Why bother updating it? For starters, newer PHP versions make your site faster and boost performance. According to Kinsta, for example, the leap from PHP version 5.6 to 7.0 doubled website performance.&nbsp;<\/p>\n\n\n\n<p>But you also have to keep up with your hosting plan. Here at <a href=\"https:\/\/www.hostgator.com\/help\/article\/php-configuration-plugin\">HostGator<\/a>, we removed versions 5.2 and 5.3 from the Shared and Reseller hosting plans back in August.&nbsp;<\/p>\n\n\n\n<p>PHP versions go up to 8 now, although versions 7.3 and 7.4 are still popular. Which version should you use? Well, if you\u2019re reading this, there\u2019s a decent chance you already need an upgrade. At the very least, version 7.3 will keep your site in line with the current requirements at HostGator.<\/p>\n\n\n\n<p>The good news is that updating your PHP is much easier than it might sound. Here are the specific steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-diagnose-your-php-within-wordpress\">How to diagnose your PHP within WordPress<\/h2>\n\n\n\n<p>There are multiple options for updating your PHP, and you\u2019ll see them below. But we\u2019ll start with running directly through WordPress because it has one key advantage: you can check your PHP version at a glance.<\/p>\n\n\n\n<p>To <strong>diagnose<\/strong> your PHP version first, do the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Within WordPress, go to <strong>Tools &gt; Site Health<\/strong>.&nbsp;<\/li><li>When you click <strong>Server, <\/strong>you should see a row that lists the current status of your server\u2019s PHP version.&nbsp;<\/li><\/ul>\n\n\n\n<p>If you don\u2019t see the version you want yet, you know it\u2019s time to move to the next step.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-update-your-wordpress-php-in-hostgator\">How to update your WordPress PHP in HostGator<\/h2>\n\n\n\n<p>If you\u2019re using HostGator, you can navigate to your cPanel and use the MultiPHP Manager to modify your PHP version. Previously, HostGator included PHP Selector as one method. But since we\u2019re slowly phasing that out, we\u2019ll focus on the MultiPHP Manager method below.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Log in to your cPanel.<\/li><li>Go to the <strong>Quick Functions<\/strong> search bar and type in <strong>multi<\/strong>. This will bring up <strong>MultiPHP Manager<\/strong> easily. Click on it.<\/li><li>Scroll down and select the relevant domain.<\/li><li>Scroll up to the PHP<strong> version<\/strong>, click the version you want to use, and click <strong>Apply<\/strong>.&nbsp;<\/li><li>Look for a 'Successfully applied PHP version'\u00a6'\u009d notification.&nbsp;<\/li><li>If you created a <strong>phpinfo<\/strong> file in the steps below, refresh that page to see if the changes have taken effect.<\/li><\/ul>\n\n\n\n<p>If you think you\u2019ll update your PHP version as often as you can, you might also consider creating a <strong>phpinfo<\/strong> file within HostGator to double-check that your conversion is successful-or simply to remind yourself which version you\u2019re using.&nbsp;<\/p>\n\n\n\n<p><strong>Note: <\/strong>If you already know your PHP version, skip to <strong>How to update your WordPress PHP <\/strong>below. Otherwise, you\u2019re just going to get frustrated with a lot of meaningless steps.&nbsp;<\/p>\n\n\n\n<p>However, if you\u2019re unsure about your PHP version, having a phpinfo.php file in place can help you diagnose it at any future date with just a glance.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Log in to your cPanel.<\/li><li>Go to <strong>Software<\/strong>.&nbsp;<\/li><li>You\u2019ll see selections like <em>WordPress Manager<\/em> and <em>Perl Modules<\/em>. You\u2019ll want to scroll down until you see <strong>MultiPHP Manager<\/strong> and select it. From there, you can follow along with <a href=\"https:\/\/www.youtube.com\/watch?v=iaF625v5L8g\" target=\"_blank\" rel=\"noopener\">this handy video<\/a>:&nbsp;<\/li><\/ul>\n\n\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/iaF625v5L8g\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"><\/iframe>\n\n\n\n<p>We\u2019ll also include those steps here:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>In your HostGator cPanel, scroll down to <strong>File Manager<\/strong> and click.<\/li><li>This takes you to your home directory. If you\u2019re working under <strong>public_html<\/strong>, scroll down to find that folder and double-click.<\/li><li>Click <strong>+File<\/strong>. Name your file <strong>phpinfo.php<\/strong> and click <strong>create new file<\/strong>.<\/li><\/ul>\n\n\n\n<p>Now you can copy and paste one of the code options from our <a href=\"https:\/\/www.hostgator.com\/help\/article\/phpinfo#createinfo\">guide to phpinfo files<\/a>. Here\u2019s the code to show all PHP information:<\/p>\n\n\n\n<p><em>#Use the following code to see the installed modules and their current values.<\/em><\/p>\n\n\n\n<p><em><\/em><em>&lt;?php<\/em><\/p>\n\n\n\n<p><em><\/em><em>phpinfo(INFO_MODULES); \/\/ This would be used to display the installed modules and their current values.<\/em><\/p>\n\n\n\n<p><em><\/em><em>?&gt;<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Under your Hostgator cPanel, right-click <strong>phpinfo.php<\/strong> and click <strong>edit<\/strong>.<\/li><li>Paste the information. Click <strong>Save Changes<\/strong>.<\/li><\/ul>\n\n\n\n<p>Now view your <strong>phpinfo.php<\/strong> page in your browser. If you saved the file under <strong>public_html<\/strong>, you can simply enter www.your-domain-here.com\/phpinfo.php. Look for the version of the php at the top-you now know what you\u2019re running.<\/p>\n\n\n\n<p>It only takes a few moments, but updating your WordPress site\u2019s PHP can instantly boost performance, speed, and security. Given the demands of today\u2019s top search engines, it always pays to be up-to-date. The good news? If you do it right, it only takes a few minutes to stay that way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-want-an-easy-way-to-keep-your-website-up-to-date\">Want an easy way to keep your website up to date?&nbsp;<\/h2>\n\n\n\n<p>Consider <a href=\"https:\/\/www.hostgator.com\/managed-wordpress-hosting\">managed WordPress hosting from HostGator<\/a> for affordable, simple-to-manage hosting on your site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you host a website, your speed and security are only as good as your PHP version.&nbsp; The problem? For&#8230;<\/p>\n","protected":false},"author":242,"featured_media":28689,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[134,120,121],"class_list":["post-28802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-and-hosting-tips","tag-next-level-wordpress","tag-shared-hosting","tag-wordpress-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.2 (Yoast SEO v23.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Update PHP on My WordPress Site - HostGator<\/title>\n<meta name=\"description\" content=\"Need to update PHP on your WordPress site? Don\u00e2\u20ac\u2122t worry; it\u00e2\u20ac\u2122s easier than it sounds. We walk you through the process step by step.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostgator.com\/blog\/update-php-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 on My WordPress Site\" \/>\n<meta property=\"og:description\" content=\"Need to update PHP on your WordPress site? Don\u00e2\u20ac\u2122t worry; it\u00e2\u20ac\u2122s easier than it sounds. We walk you through the process step by step.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"HostGator\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/HostGator\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-03T14:37:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-01T19:36:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostgator.com\/blog\/wp-content\/\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1155\" \/>\n\t<meta property=\"og:image:height\" content=\"605\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Casey Rowland\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@HostGator\" \/>\n<meta name=\"twitter:site\" content=\"@HostGator\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Casey Rowland\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/\"},\"author\":{\"name\":\"Casey Rowland\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/7e47fd3689186dec733a953d8b1910ac\"},\"headline\":\"How to Update PHP on My WordPress Site\",\"datePublished\":\"2021-12-03T14:37:00+00:00\",\"dateModified\":\"2021-12-01T19:36:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/\"},\"wordCount\":986,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg\",\"keywords\":[\"Next Level WordPress\",\"Shared Hosting\",\"WordPress Hosting\"],\"articleSection\":[\"Web Hosting Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/\",\"url\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/\",\"name\":\"How to Update PHP on My WordPress Site - HostGator\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg\",\"datePublished\":\"2021-12-03T14:37:00+00:00\",\"dateModified\":\"2021-12-01T19:36:45+00:00\",\"description\":\"Need to update PHP on your WordPress site? Don\u00e2\u20ac\u2122t worry; it\u00e2\u20ac\u2122s easier than it sounds. We walk you through the process step by step.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg\",\"contentUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg\",\"width\":1155,\"height\":605,\"caption\":\"How to update php on my WordPress site\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.hostgator.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Update PHP on My WordPress Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#website\",\"url\":\"https:\/\/www.hostgator.com\/blog\/\",\"name\":\"HostGtaor\",\"description\":\"Web Hosting and Marketing Tips for Entrepreneurs\",\"publisher\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostgator.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\",\"name\":\"HostGtaor\",\"url\":\"https:\/\/www.hostgator.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png\",\"contentUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png\",\"width\":1092,\"height\":215,\"caption\":\"HostGtaor\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/HostGator\",\"https:\/\/x.com\/HostGator\",\"https:\/\/www.instagram.com\/hostgator\",\"https:\/\/www.linkedin.com\/company\/hostgator-com\",\"https:\/\/www.pinterest.com\/hostgator\/\",\"https:\/\/www.youtube.com\/user\/hostgator\"],\"email\":\"support@gator.com\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/7e47fd3689186dec733a953d8b1910ac\",\"name\":\"Casey Rowland\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2252f843764003b22e7f3c930d917030?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2252f843764003b22e7f3c930d917030?s=96&d=mm&r=g\",\"caption\":\"Casey Rowland\"},\"description\":\"Casey is the Senior Director of Marketing for Hosting and has been in the web hosting space for 7 years. He loves the slopes and hanging out with his kids.\",\"url\":\"https:\/\/www.hostgator.com\/blog\/author\/crowland\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Update PHP on My WordPress Site - HostGator","description":"Need to update PHP on your WordPress site? Don\u00e2\u20ac\u2122t worry; it\u00e2\u20ac\u2122s easier than it sounds. We walk you through the process step by step.","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:\/\/www.hostgator.com\/blog\/update-php-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Update PHP on My WordPress Site","og_description":"Need to update PHP on your WordPress site? Don\u00e2\u20ac\u2122t worry; it\u00e2\u20ac\u2122s easier than it sounds. We walk you through the process step by step.","og_url":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/","og_site_name":"HostGator","article_publisher":"https:\/\/www.facebook.com\/HostGator","article_published_time":"2021-12-03T14:37:00+00:00","article_modified_time":"2021-12-01T19:36:45+00:00","og_image":[{"width":1155,"height":605,"url":"https:\/\/www.hostgator.com\/blog\/wp-content\/\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg","type":"image\/jpeg"}],"author":"Casey Rowland","twitter_card":"summary_large_image","twitter_creator":"@HostGator","twitter_site":"@HostGator","twitter_misc":{"Written by":"Casey Rowland","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/"},"author":{"name":"Casey Rowland","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/7e47fd3689186dec733a953d8b1910ac"},"headline":"How to Update PHP on My WordPress Site","datePublished":"2021-12-03T14:37:00+00:00","dateModified":"2021-12-01T19:36:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/"},"wordCount":986,"commentCount":0,"publisher":{"@id":"https:\/\/www.hostgator.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg","keywords":["Next Level WordPress","Shared Hosting","WordPress Hosting"],"articleSection":["Web Hosting Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/","url":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/","name":"How to Update PHP on My WordPress Site - HostGator","isPartOf":{"@id":"https:\/\/www.hostgator.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg","datePublished":"2021-12-03T14:37:00+00:00","dateModified":"2021-12-01T19:36:45+00:00","description":"Need to update PHP on your WordPress site? Don\u00e2\u20ac\u2122t worry; it\u00e2\u20ac\u2122s easier than it sounds. We walk you through the process step by step.","breadcrumb":{"@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#primaryimage","url":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg","contentUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2021\/11\/How-to-update-php-on-my-WordPress-site.jpg","width":1155,"height":605,"caption":"How to update php on my WordPress site"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostgator.com\/blog\/update-php-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostgator.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Update PHP on My WordPress Site"}]},{"@type":"WebSite","@id":"https:\/\/www.hostgator.com\/blog\/#website","url":"https:\/\/www.hostgator.com\/blog\/","name":"HostGtaor","description":"Web Hosting and Marketing Tips for Entrepreneurs","publisher":{"@id":"https:\/\/www.hostgator.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostgator.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hostgator.com\/blog\/#organization","name":"HostGtaor","url":"https:\/\/www.hostgator.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png","contentUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png","width":1092,"height":215,"caption":"HostGtaor"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/HostGator","https:\/\/x.com\/HostGator","https:\/\/www.instagram.com\/hostgator","https:\/\/www.linkedin.com\/company\/hostgator-com","https:\/\/www.pinterest.com\/hostgator\/","https:\/\/www.youtube.com\/user\/hostgator"],"email":"support@gator.com"},{"@type":"Person","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/7e47fd3689186dec733a953d8b1910ac","name":"Casey Rowland","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2252f843764003b22e7f3c930d917030?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2252f843764003b22e7f3c930d917030?s=96&d=mm&r=g","caption":"Casey Rowland"},"description":"Casey is the Senior Director of Marketing for Hosting and has been in the web hosting space for 7 years. He loves the slopes and hanging out with his kids.","url":"https:\/\/www.hostgator.com\/blog\/author\/crowland\/"}]}},"_links":{"self":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/28802"}],"collection":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/users\/242"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/comments?post=28802"}],"version-history":[{"count":3,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/28802\/revisions"}],"predecessor-version":[{"id":28836,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/28802\/revisions\/28836"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/media\/28689"}],"wp:attachment":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/media?parent=28802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/categories?post=28802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/tags?post=28802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}