Jump to content

Recommended Posts

found about 5 topics with people looking for information about this, followed all instructions (as far as I hadn't already tried them)

anyway I have php_mssql.php in my extensions folder, have it enabled in php.ini and I've added ntwdblib.dll to my system32 folder.

rebooted apache, rebooted server etc. but I still get a fatal error for missing functions: "Fatal error: Call to undefined function mssql_connect()"

 

running PHP5.2.13 on windows (USBwebserver V8.0)

 

I got my dll files from dlldll.com and I'm starting to think I got the wrong files because the functions are still just missing...

 

I've also seen several other topics with questions about configuring etc. so I was thinking, maybe someone could write a little tutorial which could get stickied on top of this forum, preferably with a download link to the correct dll files and a few configuration recommendations.

 

 

only thing that was suggested which I have not yet tried is putting the ntwdblib.dll in the php extensions folder and then adding that to the PATH var (for 2 reasons: no idea how to do it, and it's in system32 so it should work anyway, right?xD)

 

I used these dll files:

http://www.dlldll.com/ntwdblib.dll_download.html

http://www.dlldll.com/php_mssql.dll_download.html

Link to comment
https://forums.phpfreaks.com/topic/235506-enabling-mssql/
Share on other sites

You should only download files from php.net or sites that php.net recommends (such as http://www.apachelounge.com/ )

 

You need to get the same version of file as your php version and it also needs to be complied with the correct flavor of the c complier. You also need to match the thread-safe or not thread-safe flavor.

 

How did you get and install php? The .msi installer (which requires that you use the Windows control panel add/remove to install php extensions) or the .zip package? For the version of php that you mentioned, it comes with the correct files needed to enable mssql.

 

You can download the official Windows binaries from here - http://windows.php.net/downloads/releases/archives/

Link to comment
https://forums.phpfreaks.com/topic/235506-enabling-mssql/#findComment-1210397
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.