• Resolved 2cats

    (@2cats)


    I have a WordPress site hosted on HostGator. When I got the “PHP Update Required” warning on the dashboard, I updated the hosting to PHP 7.0.25, and the phpinfo.php does show that we’re running 7.0.25. But, the “PHP Update Required” warning has not disappeared. I have Backup Buddy installed, and when I check those server tools I have a warning that the site is running 5.6. I’ve deleted the cache (even deactivated the caching program) and confirmed with HostGator that the site is running 7.0.25, but obviously something’s gone wrong somewhere. Any ideas or suggestions of what to check would be greatly appreciated. I searched but could not find a similar problem listed in the forums.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Do you have any .htaccess file in the site’s directory that could include a directive forcing it to use a specific (and older) version of PHP?

    Thread Starter 2cats

    (@2cats)

    Yes, I checked that, and it doesn’t reference a PHP version. Could it be a php.ini file? I would need to contact HostGator about that. Thanks!

    Moderator James Huff

    (@macmanx)

    Wait, I think I see the problem.

    The PHP 7.0 branch is no longer receiving security updates: https://www.php.net/supported-versions.php

    Can you upgrade to PHP 7.3 or 7.2?

    Thread Starter 2cats

    (@2cats)

    Thank you James — I will check on Monday when I am back, but I think those were not yet available on HostGator. I appreciate your quick response!

    Thread Starter 2cats

    (@2cats)

    Thanks again for your help — I just wanted to update this: we finally tracked the problem down to htaccess files within the WordPress directories, not sure how they got the PHP direction, they may have been inserted by an early version of the security program we’re running. Anyway, we cleared out those lines and are now running PHP 7.3. Thank you!

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

The topic ‘“PHP Update Required” warning does not go away’ is closed to new replies.