It looks like my Laravel deliberately ignores API extensions set in my php.ini
since Iām getting could not find driver (SQL: select * from ...
.
php.ini
is configured properly and php artisan migrate
works fine and I can see its job im my MySQL DB.
Trying to figure out what goes wrong I added phpinfo() into default route and saw this:
API Extensions = no value
PDO drivers = no value
However, if I start project by php -S localhost:8000 -t public/
instead of php artisan serve
the everything works fine and API Extensions
has pdo_mysql
and PDO drivers = mysql
.
In both cases Loaded Configuration File
is the same C:\php\php.ini
What's wrong with Laravel? PS. Laravel 5.5, php 7.1