I am using a Digital Ocean server. I have a Ubuntu 16.04 installed in it and am running multiple Laravel projects in it.

However, I get PDO Mysql driver missing warrings. I would always ignore the warning and the project would work just fine. But, in the current scenario, this has caused an error and not only warning and I need to resolve it.

I searched everywhere on the internet and every same problem seems to be solved by installing php-mysql. In my case that would be php7.1-mysql. But still, I get the same issue. I have restarted my apache server (multiple times)

The only thing close is there is commented


under windows extention in the php.ini

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.