you have to check php.ini and remove comma before
// from
;extension=pdo_mysql
//to
extension=pdo_mysql
then restart apache server
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
When I run php artisan serve on my Laravel project, this error message appears:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_pdo.dll' (tried: ext\php_pdo.dll (The specified module could not be found), ext\php_php_pdo.dll.dll (The specified module could not be found)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'php_pdo.dll' (tried: ext\php_pdo.dll (The specified module could not be found), ext\php_php_pdo.dll.dll (The specified module could not be found)) in Unknown on line 0
Starting Laravel development server: http://127.0.0.1:8000
[Mon Nov 27 15:49:46 2023] PHP Warning: PHP Startup: Unable to load dynamic library 'php_pdo.dll' (tried: ext\php_pdo.dll (The specified module could not be found), ext\php_php_pdo.dll.dll (The specified module could not be found)) in Unknown on line 0
[Mon Nov 27 15:49:46 2023] PHP 8.2.4 Development Server (http://127.0.0.1:8000) started
What do I have to do?
Please or to participate in this conversation.