can't get iis7 & php to connect to mysql server
Posted on 2011-03-03
Windows 2008 (32bit) server
php is working
mysql is located on another server
mysql extensions are uncommented in the php.ini config file.
My web server won't connect to the mysql server.
Fatal error: Call to undefined function mysql_connect()
I've copied the libmysql.dll from the old server and copied it to c:\php & c:\php\ext & the system32 directories. no luck.
I created a test file that runs .....
<pre><?php echo function_exists('mysql_connect') ? 'YES' : 'NO';
and it returns no mysql functions at all.
Thanks in advance for the help/