Title: WordPress not picking up updated PHP version
Last modified: March 17, 2021

---

# WordPress not picking up updated PHP version

 *  [ashleighcole](https://wordpress.org/support/users/ashleighcole/)
 * (@ashleighcole)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wordpress-not-picking-up-updated-php-version/)
 * I am trying to update to version 5.7, but am getting a warning that I cannot 
   do so due to my PHP version being 5.5.38. I have updated the PHP version through
   my hosting company to 7.3, but I have not been able to get WordPress to recognize
   it. I have checked the htaccess file and the php.ini file already and I don’t
   appear to have more than one htaccess that could be confusing it. What file(s)
   does WordPress use to check the PHP version? What do I need to do that I haven’t
   already done to get it to recognize the php version update on the server?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-not-picking-up-updated-php-version%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wordpress-not-picking-up-updated-php-version/#post-14193246)
 * You can verify the PHP version by creating a file with name phpinfo.php under
   your website with following code:
 *     ```
       <?
       phpinfo();
       ?>
       ```
   
 * Then access that page in browser to verify your PHP version.
 * If you find it is 5.5.38, I recommend contacting your hosting provider and asking
   them what’s going on.
 *  Thread Starter [ashleighcole](https://wordpress.org/support/users/ashleighcole/)
 * (@ashleighcole)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wordpress-not-picking-up-updated-php-version/#post-14196813)
 * Hi there,
 * I tried that and I just get a wordpress 404 error page, I couldn’t ever get it
   to show me the PHP info no matter where I put the file.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wordpress-not-picking-up-updated-php-version/#post-14196997)
 * AS I recommended in previous reply, also contact your hosting provider and asking
   them what’s going on.

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

The topic ‘WordPress not picking up updated PHP version’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/wordpress-not-picking-up-updated-php-version/#post-14196997)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
