|
Posted by sank.hate.spam on 04/19/07 17:51
On Apr 19, 12:59 pm, "Steve" <no....@example.com> wrote:
> look up mssql_connect and look at the requirements. it must either be
> compiled into php or enabled as a dll (which is set in your php.ini...and
> must reside in your include_path).
I've been search for hours and have come up with nothing that works.
I have done the following:
- uncommented the extension=php_mssql.dll
- made sure my ext directory path was correct
- copied ntwdlib.dll to both my system32 and PHP directory
- PHP is in my system path
- PHPRC has been setup as an environment variable
- MSVCR71.DLL has been copied to my PHP dir (supposedly ntwdlib.dll
relies on it)
I also added the following bit of code to the top of the page:
if(extension_loaded("mssql")) {
echo "MSSQL is Loaded<br />";
}
else {
echo "MSSQL not loaded<br />";
}
When you load the page, it now says "MSSQL not loaded"
Just for an update, PHP is installed on a new Windows Server 2003 R2
Standard Edition box with IIS and I'm trying to connect to an older
server running Microsoft SQL Server 6.5.
Thanks,
Jason
Navigation:
[Reply to this message]
|