PHP7 dropped the mysql extension. How to add support for mysqli or enable it?


#1

Hello community,
After updating my stack today, I noticed my apps are not connecting to my mariadb database. The db_driver is set to mysql, but since PHP dropped support for that extension, I tried changing it to mysqli. I’m using eloquent 5.5.33 , and tried out several combinations of db_driver. The errors thrown for anything different than mysql are ‘unsupported driver’. On a hunch, It appears eloquent uses mysql_ instead of mysqli_ .

Is there a quick solution to this issue? Any feedback will be greatly appreciated, thank you!


#2

you likely want whatever they use for PDO MySql.