Jump to content

Recommended Posts

There's probably someone out there who won't like me for starting this discussion all over again, but I read the equivalent post for mysql through and through and I still couldn't figure out what I did wrong.

I've missed something in trying to configure my php server to connect with mssql.  Both work individually.  I've been working on this for over a month now, have scoured the web for solutions, and have tried everything I've found.  Still no luck.  Here's most of what I've done:

Removed semi-colon from the line reading "extension=php_mssql.dll" in php.ini

Set the variable "extension_dir" to the correct folder in php.ini

Copied the file php_mssql.dll to my "system32" folder

Copied the file php_mssql.dll to my "WINDOWS" folder

Copied the file php5ts.dll to my Apache "bin" folder

Copied the file php.ini to my "WINDOWS" folder

Restarted my server ~ 100,000,000 times

when I run the test if(function_exists('mssql_connect')), I get false every time, and when I try to use mssql_connect(), it tells me "Fatal error: Call to undefined function mssql_connect()".  Does anyone know what I'm doing wrong?
[quote author=wildteen88 link=topic=115814.msg472210#msg472210 date=1164221628]
the mssql server extension requires extra files, namely the MySQL Client Tools and the ntwdblib.dll file to be installed on the PHP box.
[/quote]

[move][u]Two Questions:[/u][/move]
[list]
[*]Where would these be if they are already on my machine?  (So I can check and see if that's my problem)
[*]If they aren't on my machine, how can I get them?
[/list]

*Also, I may not have been specific enough about [i]which[/i] MSSQL I'm using.  I'm trying to run the new(ish) freebee version, Express Edition.  Could that be part of my issue?
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.