• Resolved thejagerhunter

    (@thejagerhunter)


    Trying to update wordpress to 3.3.1. Just moved the site to a new server that has PHP 5.3.9. 100% confirmed. When trying to update wordpress it says “You cannot update because WordPress 3.3.1 requires PHP version 5.2.4 or higher. You are running version 5.1.6.”

    So what I did was manually update all the wordpress files to 3.3.1. refreshed the browser and logged back into wordpress and it still says its running wordpress 3.1.4?? I have pinged and DNS checked the site and it definitely pointed to the new server.

    Any ideas on what can be checked in wordpress to resolve this issue??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    You may have PHP 5.3.9 on your host, but the web server may be configured to use an older version.

    Try creating a wp-content/phpinfo.php file and put this one line in it

    <?php phpinfo(); ?>

    Load that file in your browser https://your-url-here/wp-content/phpinfo.php

    The top of that output will be the version of PHP your server is using.

    Thread Starter thejagerhunter

    (@thejagerhunter)

    Hi Jan:

    Thanks for helping with this. I did as you suggested and the its comes back with PHP 5.3.9.

    Here is the URL: https://goodlifer.com/wp-content/phpinfo.php

    Thanks.
    Chad

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    You’re right, it looks like you are running 5.3.10 at the moment.

    How good are your file and database backups?

    https://codex.www.ads-software.com/WordPress_Backups
    https://codex.www.ads-software.com/Backing_Up_Your_Database
    https://codex.www.ads-software.com/Restoring_Your_Database_From_Backup

    I’m just asking because the manual update should have at least put on the 3.3.1 readme.html file, but that’s 3.1.4. Something weird is going on.

    Can you try a manual update again? Then load up the readme.html file right afterwards. The directory you are updating may not be the same as being served by your web server.

    Thread Starter thejagerhunter

    (@thejagerhunter)

    Hi Jan:

    Well as you suggested I updated wordpress manually again (this being the third time) and it updated itself as it should. Not sure why it wouldn’t do it the last two times but everything seem to be fixed now.

    Thanks for all your help!!

    Chad

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress reading wrong PHP version?’ is closed to new replies.