Call to undefined function mysql_connect()
| From: | Melanie Ployhar | Date: | Wed, 15 Sep 2004 20:56:10 +0000 |
| Subject: | Call to undefined function mysql_connect() | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24581@lists.php.net to get a copy of this message | ||
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@hotmail.com
_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx