Jump to content

Recommended Posts

I have installed PHP 5 on an server 2003 IIS Box running MSSQL.

I have the latest version of ntwdblib.dll as and have uncommneted the mssql extension yet I am still getting the following error when I attempt to connect.
"
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_mssql.dll' - The specified module could not be found. in Unknown on line 0
"

Driving me quite insane, any help would be appreciated or the path to an exceedingly detailed turtorial on getting mssql and php to play nice, I would really love to be able to get this to work and not have to go back to using ASP. I have done php and mysql, php and postgresql, by Bill does not seem to want to play nice. In case you wondering the sql server is already in place so it can't be removed from the equation.
Link to comment
https://forums.phpfreaks.com/topic/8264-connect-php-to-mssql/
Share on other sites

Make sure you've done this:
The extension requires the MS SQL Client Tools to be installed on the system where PHP is installed. The Client Tools can be installed from the MS SQL Server CD or by copying ntwdblib.dll from \winnt\system32 on the server to \winnt\system32 on the PHP box. Copying ntwdblib.dll will only provide access. Configuration of the client will require installation of all the tools.
Link to comment
https://forums.phpfreaks.com/topic/8264-connect-php-to-mssql/#findComment-31284
Share on other sites

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.