Title: WordPress not recognising PHP update
Last modified: December 30, 2021

---

# WordPress not recognising PHP update

 *  [daverumney](https://wordpress.org/support/users/daverumney/)
 * (@daverumney)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/)
 * Hi,
    I’ve updated PHP on my hosts cpanel to 7.3 and have confirmed this myself
   by creating and running a phpinfo.php page from my site
 * WordPress admin page complains that i’m running PHP 5.6.
    I’ve checked .htaccess
   and added a some things to no avail:
 * AddHandler application/x-httpd-ea-php73 .php
 * and separately tried this:
 * AddHandler php-cgi .php
    Action php-cgi /cgi-bin/php-cgi
 * and even this:
 * SetEnv PHP_VER 7_3
 * I can’t find a php.ini file.
 * Would really appreciate any help.

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/#post-15207719)
 * Please contact your host.
 *  Thread Starter [daverumney](https://wordpress.org/support/users/daverumney/)
 * (@daverumney)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/#post-15207834)
 * I already spoke to my host and they confirmed that it was running 7.3.
    To satisfy
   myself I created a phpinfo.php file: <? phpinfo(); ?> and ran it which confirmed
   the host site is running PHP 7.3.3 for my website – which makes me think the 
   problem is somewhere in WP
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/#post-15207909)
 * WP does not pick the PHP version. It’s set somewhere in your hosting configuration.
   If WP is seeing something other than 7.3.3, it’s in your hosting.
 *  Thread Starter [daverumney](https://wordpress.org/support/users/daverumney/)
 * (@daverumney)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/#post-15225278)
 * Hi,
    phpinfo is going direct to the host to get the php version. WP isn’t involved
   in that process as far as I can tell. Also, if I change the PHP version on my
   host (for my domain) to 7.2 and reload phpinfo.php again, it reports it correctly
   as 7.2. However WordPress continues to report that I’m on an outdated PHP version
   5.6 Anyone know what WP does to ascertain the PHP version or if there’s anything
   I can check in WP? Thanks
    -  This reply was modified 4 years, 4 months ago by [daverumney](https://wordpress.org/support/users/daverumney/).
    -  This reply was modified 4 years, 4 months ago by [daverumney](https://wordpress.org/support/users/daverumney/).
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/#post-15225315)
 * The PHP version is supplied by the hosting environment, not selected in any way
   by WP. It can be set in the PHP-CGI/PHP-FPM configuration, in .htaccess, or in
   the cpanel environemnt. You really need to push a bit harder on the host’s support
   on this.
 *  Thread Starter [daverumney](https://wordpress.org/support/users/daverumney/)
 * (@daverumney)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/#post-15225345)
 * Thanks – I’ll take a look at that.
    My host isn’t dealing with many WP hosters–
   I don’t think they have much knowledge of it

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

The topic ‘WordPress not recognising PHP update’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [daverumney](https://wordpress.org/support/users/daverumney/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/wordpress-not-recognising-php-update/#post-15225345)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
