I am at the end of my rope, so to speak. I have searched every forum known to man, I've RTFM over and over, and I have called everyone I know with any experience with this. But, no progress....
I have installed PHP 5.2 as ISAPI and MySQL 5.1 on a Windows 2K3 platform. I unzipped the ZIP files first into a directory called "c:\php" and I then downloaded the 5.2 installer and ran it. I later manually edited the various settings as I have detailed below.
PHP works fine, it opens up the info page that displays the php variables, and it will open up and parse an ordinary .php page. BUT, when I try to open a page that uses mysql_connect() in it, I get this error.
Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\sitename\phppages\dbaccess.php on line 12
Now, I understand that the following must be done....
I copied lib_mysql.dll into
I copied php5isapi.dll to c:\Windows
PHP uses php.ini out of the Windows Directory
I also uncommented the following in php.ini
In IIS, I edited the web site under tab HOME >> CONFIGURATION >> MAPPINGS
to point to...
C:\WINDOWS\php5isapi.dll with the extension of .php
IN IIS, I set the ISAPI Filter to
In IIS, under WEB SERVICE EXTENSIONS
I set the PHP extension to
I reset IIS at the command prompt...
c\Documents and Settings\Admin > iisreset
But still, I get the error message....
Fatal error: Call to undefined function mysql_connect()
In ENVIRONMENT VARIABLES, I added the following in the path
What, if anything, have I done wrong? I would so appreciate some help and will even be willing to pay a qualified person to complete this install for me. I have spent over 10 hours in 2 days on this.... help!
Oh, and please don't tell me to use Apache instead.... this is a friends server and the server software is his choice, not mine.
█ Windows and Exchange Server Experts, UK and US Dedicated Exchange Servers.
█ MCSE Certified, Registered Microsoft Partner.
█ Exchange 2010, Server 2008 and IIS 7 Services now available!
█ www.windowsserv.com Email:[email protected]