#30099 [Com]: mysql_connect dont work on PHP5 + MYSQL5 + IIS6 + WIN 2003 SERVER
| From: | yakov_br at walla dot com | Date: | Mon, 27 Sep 2004 22:20:30 +0000 |
| Subject: | #30099 [Com]: mysql_connect dont work on PHP5 + MYSQL5 + IIS6 + WIN 2003 SERVER | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66784@lists.php.net to get a copy of this message | ||
ID: 30099
Comment by: yakov_br at walla dot com
Reported By: fivelfivel at yahoo dot se
Status: Bogus
Bug Type: MySQL related
Operating System: Windows 2003 Server
PHP Version: 5.0.0
New Comment:
i have the same problem and i add manually the extension=php_mysql.dll
entry to my php.ini.(under C:\WINDOWS\system32).
i still have the problem. please help.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2004-09-16 01:04:32] pollita@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
MySQL is no longer enabled by default in the windows binary. You must
manually add the extension=php_mysql.so entry to your php.ini.
------------------------------------------------------------------------
[2004-09-16 00:26:23] fivelfivel at yahoo dot se
Description:
------------
When calling mysql_connect(), running Windows 2003 Server + IIS6 + PHP5
+ MYSQL5, the function is not found.
Reproduce code:
---------------
Calling :
<? $connector = mysql_connect("localhost"); ?>
Returns :
Fatal error: Call to undefined function mysql_connect()
Expected result:
----------------
$connector should become an mysql-connection instance and not return
any errors.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30099&edit=1