Hey I have a Laravel project made by an ex staff member of ours that we’re trying to host but whenever we boot it we get an error saying it can’t find the SQL driver. We’ve tried installing it fresh, checking the php.ini file, updating php and nothing is working. Any help would be hugely appreciated (I’m not really a php pro, just trying to salvage a project we really need from an ex staff member lol)
#Laravel Project missing SQL driver
25 messages · Page 1 of 1 (latest)
Would you mind linking a guide/a few small steps on how to do that?
This is the error
I don't really know your environment.
Is it ubuntu server?
Or a local dev environment?
Windows? Mac? What stack?
The main server is debian, it’s hosted on a pterodactyl panel using a php egg
Flare
could not find driver (SQL: select * from sessions where id = LSO5WUjPsU9a69u8DnF6lDHb5ZvYDL0Y8onnNFJZ limit 1) - The error occurred at http://168.119.9.234:25623/
I don't know what apterodactly panel or php egg is, tbh. But for a debian server it should be as simple as sudo apt-get install php-mysql and then reloading your apache/nginx.
Hm i've done that an had no luck
btw pterodactyl is https://pterodactyl.io/ its basically like splitting your server off into however many different servers
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Maybe restart your PHP as well.
Check your phpinfo() and confirm the extension is installed.
Yep the extension is installed
well thats what im assuming
mysqlnd => enabled
Version => mysqlnd 8.1.1``` means
There should be a section with extensions.
MySQL