I am using XAMPP on Ubuntu 18.0.4. I am using PHP 7.2.
The Laravel Home page gets loaded at localhost:8000, but when I try to register a user. It shows the following error
I've tried all the things suggested on the internet like changing the php.ini file and all, but I couldn't get a work around.
This is my configuration Ubuntu 18.04 PHP 7.2
cofig/database.php
'default' => env('DB_CONNECTION', 'mysql'),
.env
DB_CONNECTION=mysql
I've already installed php-mysql using sudo apt-get install php-mysql
But nothing seems to work My php.ini file is at /opt/lampp/etc/ and I've following so called solution content
extension=php_pdo_mysql.dll
extension=pdo_mysql.so
I've tried to clear the cache too, but nothing works.
NOTE: THIS SAME EXACT PROJECT WAS WORKING A FEW DAYS AGO. BUT IT SEEMS TO HAVE THIS PROBLEM SINCE TWO DAYS BACK.