Skip to content

installed magento 2.4.6 and running php 8.1 but the frontend still asking for php 8.1.0 or later

enter image description here

I have magento 2.4.6 installed on my server and running php 8.1.18.
(upgraded from 2.4.3)

when I open the main page, I’m getting this message :

enter image description here

Can anyone help me how to fix this? Thank you.