Normaly the extension dir should be:extension_dir = "C:\PHP\ext" Have you the php_mysql.dll file in this location ? What is showing the "phpinfo();" ? Does it lodes the php.ini filewhere you enabled mysql extension ? On 25/06/07, Don Denton <denton.don@xxxxxxxxx> wrote:> I cannot get PHP to load the mySQL module. I have enabled it in php.ini and> I have tried changing the extension_dir to "c:/php" AND "c:\php", which is> where I copied the corresponding .dll files. I have also tried enabling> "php_mysql.dll" AND "php_mysqli.dll" separately. I cannot figure out what is> going on. Every time I try to run a MySQL page, I get "Fatal error: Call to> undefined function mysql_connect() in C:\webspacedirectory\mysql_up.php on> line 13">> Thanks in advance,> Don>> --> PHP Windows Mailing List (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php>> -- Jānis Ritmanise-mail: Janis.Ritmanis@xxxxxxxxx