Title: Wrong PHP version after upgrade
Last modified: August 2, 2018

---

# Wrong PHP version after upgrade

 *  [bulbous](https://wordpress.org/support/users/bulbous/)
 * (@bulbous)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wrong-php-version-after-upgrade/)
 * Someone upgraded our WordPress to current version. Afterward, all web pages including
   wp-admin started displaying Your server’s PHP version (5.5.9-1ubuntu4.25) is 
   not supported.
 * I thought this would be an easy fix – I installed PHP7.0 and restarted, but the
   pages are still displaying the same message.
 * php -ver reports PHP 7.0.31, but WordPress doesn’t seem to “know” that there 
   is a new PHP installed. Where can I look for to correct this? Keeping in mind
   that the admin panel doesn’t run any longer.

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wrong-php-version-after-upgrade/#post-10551554)
 * Check your .htaccess file as it may specify a PHP version.
 *  Thread Starter [bulbous](https://wordpress.org/support/users/bulbous/)
 * (@bulbous)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wrong-php-version-after-upgrade/#post-10551774)
 * I appreciate the response! There was no php path or version specified in .htaccess.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wrong-php-version-after-upgrade/#post-10551777)
 * How is your site hosted?

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

The topic ‘Wrong PHP version after upgrade’ 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/)
 * 3 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/wrong-php-version-after-upgrade/#post-10551777)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
