GuardianGI Posted May 4, 2011 Share Posted May 4, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/235506-enabling-mssql/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 4, 2011 Share Posted May 4, 2011 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/ Quote Link to comment https://forums.phpfreaks.com/topic/235506-enabling-mssql/#findComment-1210397 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.