when i run the command
php artisan serve
it's run but it show to me this error
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_pdo_mysql.dll' - /usr/lib/php/20151012/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/pdo_mysql.so' - /usr/lib/php/20151012/pdo_mysql.so: undefined symbol: pdo_parse_params in Unknown on line 0
This a PHP installation problem. I had this problem on my linux distro. Here's a few things you can do:
(Optional) Uninstall PHP; Reinstall PHP;
Edit php.ini . This is how you find path to edit php.ini on windows.
Now check if the above lines are uncomented: extension=pdo.so extension=pdo_mysql.so
If they are, its recommended to uninstall/reinstall PHP or manually install function on windows.
Remember to restart apache server after change php.ini file.