• I went through all the steps to make sure that my site was compatible with PHP 7.3.5. I then went to BlueHost and updated PHP to 7.3.5.

    When I went to my admin page at WordPress to update it to WordPress 5.2.1, I keep getting the same message below:

    “An updated version of WordPress is available.

    You cannot update because WordPress 5.2.1 requires PHP version 5.6.20 or higher. You are running version 5.4.45.”

    What do I do next to update WordPress?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • hello there,

    It seems your website is still running php 5.4.45. You can verify the same 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.

    Often multiple php rules in .htaccess on CloudLinux servers with CloudLinux PHP selector can cause such issues.

    Thread Starter brenbooks18

    (@brenbooks18)

    Thank you, I have done all that and had verifies that my WP website i
    still running under PHP 5.4.45 despite the fact that I updated to updated
    PHP to 7.3.5 at BlueHost.

    My question is this: if I have updated to PHP 7.3.5 at Bluehost, why won’t
    my website run at 7.3.5 ?

    Thanks for your continued help.

    Sue Cohen
    Bren-Books.com

    Thread Starter brenbooks18

    (@brenbooks18)

    I just solved the problem and now have updated both the PHP to 7 and updated WordPress to 5.2.1, but…

    I had to do the following:

    Sign in at Bluehost.com> WordPress Tools> Performance> Scroll down to PHP Versions> Click on button PHP 7.0.

    Then go to Updates.

    I would recommend that this information is provided for your customers as I found this by chance after several hours.

    Hi, it is great to hear that you figure out, we will make sure we provide this information to the costumers of bluehost.

    By the way… no all plugins are compatible with PHP7 and it is always advised to test them before upgrading, there is a PHP test plugin that do just this.

    Thank you for this information brenbooks18!

    I have a multi-site WordPress install with Blue Host and wanted to add the extra step I had to do for the PHP version to take.

    I switched the version to PHP 7.0 as you did, however, it didn’t stay. I click on the View More button and was taken to the PHP Handlers page and from there I switched the domain to php70 and it worked.

    Hope this info is helpful to others!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I have just updated PHP but WordPress doesn’t recognize it’ is closed to new replies.