Your PHP is missing SQL plugin. Please guide.

So, I have installed the php7.4 in the openlightspeedwordpress and since then I'm seeing this issue.
I further deep dig into the issue and came out that it shows that whenever I use http to search the site it shows the error and whenever I use https:// it will load the site.
Now the issue is whenever the user edits the it will show the error and when it does enter the it will open the site.
Please guide what to do to make all such to