Title: PHP version detected is wrong
Last modified: March 22, 2017

---

# PHP version detected is wrong

 *  [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/)
 * I’m getting a notice from two different plugins that I should use a newer version
   of PHP. One says that I’m using 5.2. I triple checked the settings and viewing
   a document that uses php_info it says I’m using 5.6. So any ideas what the problem
   could be?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945404)
 * Please provide a link to a page on your site where we can see this. Thanks.
 * I assume this is from Yoast WordPress SEO, so you may also want to check with
   them at [https://wordpress.org/support/plugin/wordpress-seo](https://wordpress.org/support/plugin/wordpress-seo)
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945525)
 * It’s in the wordpress admin. Yes one is the Yoast SEO plugin, the other is Nextgen
   Gallery. I’ll check with them too, but since it’s two different plugins I thought
   it might be a WordPress issue. Thanks.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945549)
 * These are the headers returned by your site. You’re using PHP 5.4.45 (Assuming
   we’re talking about winterstreetdesign.com)
 *     ```
       HTTP/1.1 200 OK
       Date: Wed, 22 Mar 2017 19:14:34 GMT
       Server: Apache
       X-Powered-By: PHP/5.4.45
       Link: <https://winterstreetdesign.com/wp-json/>; rel="https://api.w.org/", <https://winterstreetdesign.com/>; rel=shortlink
       Keep-Alive: timeout=3, max=100
       Connection: Keep-Alive
       Transfer-Encoding: chunked
       Content-Type: text/html; charset=UTF-8
       ```
   
    -  This reply was modified 9 years ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945597)
 * Sorry I didn’t give you the url [http://www.nevadacitychamber.com/](http://www.nevadacitychamber.com/)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945606)
 * The headers for that site don’t reveal the PHP version. 🙁
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945611)
 * [https://www.nevadacitychamber.com/info.php](https://www.nevadacitychamber.com/info.php)
 *  [ewimsatt](https://wordpress.org/support/users/ewimsatt/)
 * (@ewimsatt)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945860)
 * [@sterndata](https://wordpress.org/support/users/sterndata/)
 * You can’t curl nevadacitychamber.com because it’s using a CDN
 *  [ewimsatt](https://wordpress.org/support/users/ewimsatt/)
 * (@ewimsatt)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945870)
 * [@winterstreet](https://wordpress.org/support/users/winterstreet/)
    Is this a
   managed Bluehost server?
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945905)
 * It is with Bluehost. They call it “Cloud Business Hosting”. I tried turning off
   the varnish caching yesterday.
 *  [ewimsatt](https://wordpress.org/support/users/ewimsatt/)
 * (@ewimsatt)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945935)
 * [@winterstreet](https://wordpress.org/support/users/winterstreet/) If it’s managed,
   I’d contact Bluehost and have them dig into it. If you have ssh access to the
   server, what is the output of: php -v
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8945973)
 * I’ll contact them thank you. I’ll post back here if learn something that could
   help others. I probably have ssh access, but I’m not really familiar with using
   it. thanks.
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8946293)
 * Well Bluehost support tried, but this was their final answer:
 * “so here’s some info from what i was expl. 5.2 is the server default, so it’ll
   show up in scans or checking it in SSH, or anything like that.
    5.6 is what their
   php.ini is set to, and will only work for site files in the directory or child
   directories of the .htaccess specifying 5.6 maybe go copy/paste the .htaccess
   rule from the public_html for php56s into those directories and see how it does”
 * So basically I’ll get error messages from plugins forever.
 *  [ewimsatt](https://wordpress.org/support/users/ewimsatt/)
 * (@ewimsatt)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8946616)
 * [@winterstreet](https://wordpress.org/support/users/winterstreet/) PHP 5.2 reached
   end of life over 6 years ago! I think that they gave you an unacceptable answer.
   They need to update their systems!
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8946729)
 * Supposedly it’s not really on 5.2 but just looks like it. It was still an unacceptable
   answer though.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘PHP version detected is wrong’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 3 participants
 * Last reply from: [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/php-version-detected-is-wrong/#post-8946729)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
