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]
Is PHP 8.0 actually installed on the server? If you’re using cPanel, you can set the php version via the MultiPHP Manager.
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.