• Hey Guys,

    I’ve been looking into this for hours and haven’t gotten anywhere with it :(. So recently updated to PHP 7.4 as it was overdue and WordPress was on my back about updating it. But recently when I looked back on WordPress it is still saying I need to update my PHP and that my current one is (7.1.33). Since then i updated to PHP 8.0 in the hope that WordPress would recognise that but it is still showing s (7.1.33)

    this is the text that is in the .htaccess file “

    # php — BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php80” package as the default “PHP” programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
    </IfModule>
    # php — END cPanel-generated handler, do not edit

    so as far as i’m aware everything is set to PHP8.0, So why is Word press insisting it’s 7.1.33? And any ideas how to fix this?

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

    (@sterndata)

    Volunteer Forum Moderator

    Please contact your host. WordPress does not select PHP versions, it uses what the server tells it to.

    Moderator threadi

    (@threadi)

    WordPress only reads the PHP version provided by your host. Apparently you are not changing the correct setting in your hosting. I would therefore recommend that you contact your hoster’s support to clarify this.

    By the way, the latest version of WordPress (currently 6.4.3) is compatible up to PHP 8.2. I would recommend using PHP 8.1 if your plugins and theme are compatible with it.

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

The topic ‘WordPress insisting on incorrect PHP Vewrsion’ is closed to new replies.