Title: WordPress reading wrong PHP version?
Last modified: August 20, 2016

---

# WordPress reading wrong PHP version?

 *  Resolved [thejagerhunter](https://wordpress.org/support/users/thejagerhunter/)
 * (@thejagerhunter)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-reading-wrong-php-version/)
 * 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](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-reading-wrong-php-version/#post-2563845)
 * 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 `http://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](https://wordpress.org/support/users/thejagerhunter/)
 * (@thejagerhunter)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-reading-wrong-php-version/#post-2563868)
 * 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: [http://goodlifer.com/wp-content/phpinfo.php](http://goodlifer.com/wp-content/phpinfo.php)
 * Thanks.
    Chad
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-reading-wrong-php-version/#post-2563893)
 * You’re right, it looks like you are running 5.3.10 at the moment.
 * How good are your file and database backups?
 * [http://codex.wordpress.org/WordPress_Backups](http://codex.wordpress.org/WordPress_Backups)
   
   [http://codex.wordpress.org/Backing_Up_Your_Database](http://codex.wordpress.org/Backing_Up_Your_Database)
   [http://codex.wordpress.org/Restoring_Your_Database_From_Backup](http://codex.wordpress.org/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](https://wordpress.org/support/users/thejagerhunter/)
 * (@thejagerhunter)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wordpress-reading-wrong-php-version/#post-2564020)
 * 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.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [thejagerhunter](https://wordpress.org/support/users/thejagerhunter/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/wordpress-reading-wrong-php-version/#post-2564020)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
