• winterstreet

    (@winterstreet)


    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)

    (@sterndata)

    Volunteer Forum Moderator

    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

    Thread Starter winterstreet

    (@winterstreet)

    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)

    (@sterndata)

    Volunteer Forum Moderator

    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
    Thread Starter winterstreet

    (@winterstreet)

    Sorry I didn’t give you the url http://www.nevadacitychamber.com/

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The headers for that site don’t reveal the PHP version. 🙁

    Thread Starter winterstreet

    (@winterstreet)

    ewimsatt

    (@ewimsatt)

    @sterndata

    You can’t curl nevadacitychamber.com because it’s using a CDN

    ewimsatt

    (@ewimsatt)

    @winterstreet
    Is this a managed Bluehost server?

    Thread Starter winterstreet

    (@winterstreet)

    It is with Bluehost. They call it “Cloud Business Hosting”. I tried turning off the varnish caching yesterday.

    ewimsatt

    (@ewimsatt)

    @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

    (@winterstreet)

    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

    (@winterstreet)

    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

    (@ewimsatt)

    @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

    (@winterstreet)

    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.