• Resolved webmasterMS

    (@webmasterms)


    Our PHP version is being detected at PHP 5.2.17 by Wordfence. I can see it in a Warning message in the site Dashboard and I also got an email about it today after visiting the website.

    Please advise how I can figure out why its detecting the wrong PHP version.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfscott

    (@wfscott)

    Hello @webmasterms

    I am also seeing PHP version 5.2.17 in my check of the site using curl. Perhaps the correct version of PHP is not running on your server as intended.

    One way to check the version is to create a test.php file in the root of your site directory with the single line <?php phpinfo(); ?>

    When I do the same, I am presented with the current PHP version at the top along with other configuration information.

    If it is indeed running 5.2.17, your web host should be able to get you on the right track to update that.

    -Scott

    Thread Starter webmasterMS

    (@webmasterms)

    Thanks for your reply and time Scott. I have resolved this issue with our web host – I forgot to come back here and delete/update this post.

    Its’s odd you still see 5.2.17.

    I did do a phpinfo page and then contacted our web host and found I had .htaccess commands causing this issue – which was desired years back.

    When I contacted them I had 2 plugins warning me that our server was running PHP 5.2.17. Our web host identified commands in .htaccess causing this and I removed them. Hours later when I checked again both plugin warnings were gone.

    Plugin Support wfscott

    (@wfscott)

    Sure, anytime!

    I ran the curl command the other day when I first saw your case, so it may be that I checked before you got the PHP updated. In any event, I’m happy to hear you got the issue resolved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrect PHP Version Detected’ is closed to new replies.