Extension_dir = 'H: apps php ext ' extension=php_mysql.dll Also it is worth ensuring that you only have one copy of php.ini on your machine - I've had problems with this where I've been editting a php.ini file which php. Open PHP's configuration file C: PHP php.ini in your text editor and search for php_mysqli or php_pdo_mysql - they should already be there, uncomment them. Done, now you can acc..