Operating system: Windows 2003 Server
PHP version: 5.0.
Problem Type: MySQL/PHP related
mysql_connect won't work on PHP5 + MYSQL5 + IIS6 + WIN 2003 SERVER
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.
i dont get it i have everything running! but cant seem to connect to the sql server to install my forum...
i have already added c:\php into my system path,
dropped off mysqli.dll and libmysql.dll into the system folder,
i even went one further and added the ext folder to the system path to no avail...
i understand i need to use --with-mysql[=DIR] somewhere but i dont know where to put it i have read all the manuals but they all omit the mysql/php/iis6 conduit issue.
there seems to be an issue with php5/mysql5 having to be compiled could someone explain how to do this im up for the task it has taken me a month to get this together and i cant quit now... please help!