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" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> 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!
>
> [EMAIL PROTECTED]
>
> _________________________________________________________________
> 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

Reply via email to