• Resolved trevormwilson

    (@trevormwilson)


    I’ve been ignoring this problem but today I thought I would try and fix it πŸ™‚

    My site health says I am running PHP 7.3.32 but my server says it is running PHP 7.4.25.

    Why does WordPress not recognise the newer PHP version?

    I checked my htaccess file and at the bottom it says this:

    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the β€œea-php73” package as the default β€œPHP” programming language.
    <IfModule mime_module>
      AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit

    I am guessing this might be the problem but I have no idea how to correct it? (I don’t use cPanel either, my interface is Plesk).

    Thanks!

    • This topic was modified 4 years, 4 months ago by trevormwilson.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please contact your host to find out what to use for PHP 7.4 (though you might just try editing that and replacing 73 with 74).

    Thread Starter trevormwilson

    (@trevormwilson)

    Thank you Steve! I plucked up the courage and changed that htaccess file 73 to a 74 and it seems to have fixed the issue, thanks!

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

The topic ‘Site health indicates wrong PHP version’ is closed to new replies.