I had a similar problem with PHP5 and IIS. I had to copy the php_mysql.dll to my c:\winnt folder (and/or c:\php\ -- it didn't like the ext folder). I assume you have enabled it in your php.ini? "Melanie Ployhar" <meployhar@xxxxxxxxxxx> wrote in message news:BAY16-F3831DPrZjuy0000148a2@xxxxxxxxxxxxxx > I'm working with PHP 5, MySQL 4.0.2, ApacheJServ/1.1.2 on Windows 2000 > box. I'm having problems getting the MySQL API setup. I have followed the > steps outlined on the php.net sight but still receive an error "Call to > undefined function mysql_connect()". > > Here is the php.net link for this. > http://us2.php.net/manual/en/ref.mysql.php > > I did this: > Added "C:\php;C:\php\ext" to my PATH environment variable, (php_mysql.dll > is under c:\php\ext) > In php.ini have. > extension=msql.dll > extension=php_mysql.dll > extension=php_mysqli.dll (for extended mysql functions) > > I restarted my Apache server and still get the following error. > "Call to undefined function mysql_connect()". > > Do you have a suggestion what I need to do? Thank you for your time! > > -meployhar@xxxxxxxxxxx > > _________________________________________________________________ > Check out Election 2004 for up-to-date election news, plus voter tools and > more! http://special.msn.com/msn/election2004.armx -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php