{"id":1757,"date":"2020-07-03T09:58:00","date_gmt":"2020-07-03T07:58:00","guid":{"rendered":"https:\/\/www.wp-moon.com\/?p=1757"},"modified":"2020-06-30T00:01:29","modified_gmt":"2020-06-29T22:01:29","slug":"wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php","status":"publish","type":"post","link":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/","title":{"rendered":"WordPress has detected that your site is running on an insecure version of PHP"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You may have an error saying : <em>WordPress has detected that your site is running on an insecure version of PHP.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, you should check your PHP version into your WordPress dashboard. Go into : <em>Tools &gt; Site Health &gt; Info &gt; Server<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you see that your PHP version is :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP version 5.2<\/li>\n\n\n\n<li>PHP version 5.3<\/li>\n\n\n\n<li>PHP version 5.4<\/li>\n\n\n\n<li>PHP version 5.5<\/li>\n\n\n\n<li>PHP version 5.6<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To make WordPress works, your webserver needs at least <em>PHP 5.2.4<\/em>. But the recommendation is to have at least <em>PHP 7<\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The goal is to make a <strong>php update<\/strong>. You have to <a href=\"https:\/\/www.wp-moon.com\/errors-when-switching-to-php-7-3-or-7-4\/\" title=\"ERRORS when switching to PHP 7.3 or 7.4\">switch to PHP 7<\/a> (7.3 or 7.4 is recommended).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are steps to <strong>change your php<\/strong> version :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a <strong>Backup<\/strong><\/li>\n\n\n\n<li>Put the site into maintenance<\/li>\n\n\n\n<li><strong>Upgrade your PHP version<\/strong> to 7 (7.3 or 7.4) into your <strong>hosting<\/strong>. If you can&#8217;t do it, ask your host to upgrade the version of php<\/li>\n\n\n\n<li>Try to navigate on the site, if there are errors, read bellow.<\/li>\n\n\n\n<li>Remove the maintenance.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If something seems <strong>broken<\/strong>, remember to make an upgrade of your plugins &amp; themes. If one plugin or theme doesn&#8217;t work with your PHP version upgrade, then you should consider <strong>contacting the developer<\/strong> or switch the theme\/plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have an error saying : WordPress has detected that your site is running on an insecure version of PHP. First, you should check your PHP version into your WordPress dashboard. Go into : Tools &gt; Site Health &gt; Info &gt; Server If you see that your PHP version is : To make WordPress &hellip; <a href=\"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WordPress has detected that your site is running on an insecure version of PHP<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":1758,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[53],"class_list":["post-1757","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fix-errors","tag-php-7-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress has detected that your site is running on an insecure version of PHP - WP Moon<\/title>\n<meta name=\"description\" content=\"You may have an error saying : WordPress has detected that your site is running on an insecure version of PHP. First, you should check your PHP version\" \/>\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.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress has detected that your site is running on an insecure version of PHP - WP Moon\" \/>\n<meta property=\"og:description\" content=\"You may have an error saying : WordPress has detected that your site is running on an insecure version of PHP. First, you should check your PHP version\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Moon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpmoonwebsite\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-03T07:58:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/06\/php_version.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"869\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alexandre G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@alexgaboriau\" \/>\n<meta name=\"twitter:site\" content=\"@WPMoon4\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alexandre G\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress has detected that your site is running on an insecure version of PHP - WP Moon","description":"You may have an error saying : WordPress has detected that your site is running on an insecure version of PHP. First, you should check your PHP version","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.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/","og_locale":"en_US","og_type":"article","og_title":"WordPress has detected that your site is running on an insecure version of PHP - WP Moon","og_description":"You may have an error saying : WordPress has detected that your site is running on an insecure version of PHP. First, you should check your PHP version","og_url":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/","og_site_name":"WP Moon","article_publisher":"https:\/\/www.facebook.com\/wpmoonwebsite","article_published_time":"2020-07-03T07:58:00+00:00","og_image":[{"width":1920,"height":869,"url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/06\/php_version.png","type":"image\/png"}],"author":"Alexandre G","twitter_card":"summary_large_image","twitter_creator":"@alexgaboriau","twitter_site":"@WPMoon4","twitter_misc":{"Written by":"Alexandre G","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#article","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/"},"author":{"name":"Alexandre G","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d"},"headline":"WordPress has detected that your site is running on an insecure version of PHP","datePublished":"2020-07-03T07:58:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/"},"wordCount":203,"commentCount":0,"publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/06\/php_version.png","keywords":["PHP 7"],"articleSection":["Fix Errors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/","url":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/","name":"WordPress has detected that your site is running on an insecure version of PHP - WP Moon","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#primaryimage"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/06\/php_version.png","datePublished":"2020-07-03T07:58:00+00:00","description":"You may have an error saying : WordPress has detected that your site is running on an insecure version of PHP. First, you should check your PHP version","breadcrumb":{"@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#primaryimage","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/06\/php_version.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/06\/php_version.png","width":1920,"height":869,"caption":"php version"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wp-moon.com\/en\/wordpress-has-detected-that-your-site-is-running-on-an-insecure-version-of-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wp-moon.com\/en\/"},{"@type":"ListItem","position":2,"name":"Fix Errors","item":"https:\/\/www.wp-moon.com\/en\/category\/fix-errors\/"},{"@type":"ListItem","position":3,"name":"WordPress has detected that your site is running on an insecure version of PHP"}]},{"@type":"WebSite","@id":"https:\/\/www.wp-moon.com\/en\/#website","url":"https:\/\/www.wp-moon.com\/en\/","name":"WP Moon","description":"","publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wp-moon.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wp-moon.com\/en\/#organization","name":"WP Moon","url":"https:\/\/www.wp-moon.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","width":290,"height":95,"caption":"WP Moon"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/wpmoonwebsite","https:\/\/x.com\/WPMoon4"]},{"@type":"Person","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d","name":"Alexandre G","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","caption":"Alexandre G"},"description":"Alexandre, Web Developer &amp; Website Editor. I've been using WordPress for over 10 years in my professional environment and on personal projects. I created WP Moon to teach you how to use this CMS, solve your problems and show you all the tricks.","sameAs":["https:\/\/www.croque-pixel.com\/","https:\/\/x.com\/alexgaboriau","https:\/\/www.youtube.com\/@wp_moon\/videos"],"url":"https:\/\/www.wp-moon.com\/en\/author\/wp-moon\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/1757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/comments?post=1757"}],"version-history":[{"count":0,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/1757\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media\/1758"}],"wp:attachment":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media?parent=1757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/categories?post=1757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/tags?post=1757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}