Cannot Load Mysql extension please check PHP configuration in phpMyAdmin

I often get this error when i'm installing mysql server and running phpmyadmin. Just in case you are also experiencing the same,

Find your php.ini file. Open your httpd.conf file and look for the PHPIniDir variable. If it is set to C:\PHP then use that ini file.

Open your php.ini file on your php folder usually at C:\PHP. Look for this line


;extension=php_mysql.dll

uncomment the line by removing the semicolon ';'

Look for the loadable extension modules directory called extension_dir, set it to


extension_dir = "c:\php\ext"

You might want to enable mbstring and curl modules as well by uncommenting the following lines on your php.ini file.

extension=php_mbstring.dll extension=php_curl.dll

0 TrackBacks

Listed below are links to blogs that reference this entry: Cannot Load Mysql extension please check PHP configuration in phpMyAdmin.

TrackBack URL for this entry: http://www.tildemark.com/cgi-bin/mt4/mt-tb.cgi/34

Leave a comment

About this Entry

This page contains a single entry by tildemark published on October 2, 2006 7:12 AM.

No installed service named Apache2 was the previous entry in this blog.

Removing multiple hyperlinks in Excel is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.