WordPress Showing incorrect PHP version

[ad_1]

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 WordPress insisting it’s 7.1.33? And any ideas how to fix this?

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

[ad_2]
2 Comments
  1. Is PHP 8.0 actually installed on the server? If you’re using cPanel, you can set the php version via the MultiPHP Manager.

  2. Did you just add those lines to .htaccess manually or did you use the cPanel function to switch to PHP 8?

    I have never tried just manually putting the lines in htaccess. I always use the cPanel function.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer