drkslvr8 Posted November 21, 2006 Share Posted November 21, 2006 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.iniSet the variable "extension_dir" to the correct folder in php.iniCopied the file php_mssql.dll to my "system32" folderCopied the file php_mssql.dll to my "WINDOWS" folderCopied the file php5ts.dll to my Apache "bin" folderCopied the file php.ini to my "WINDOWS" folderRestarted my server ~ 100,000,000 timeswhen 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 Link to comment https://forums.phpfreaks.com/topic/28025-fatal-error-call-to-undefined-function-mssql_connect/ Share on other sites More sharing options...
wildteen88 Posted November 22, 2006 Share Posted November 22, 2006 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 Link to comment https://forums.phpfreaks.com/topic/28025-fatal-error-call-to-undefined-function-mssql_connect/#findComment-128727 Share on other sites More sharing options...
drkslvr8 Posted November 22, 2006 Author Share Posted November 22, 2006 [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? Quote Link to comment https://forums.phpfreaks.com/topic/28025-fatal-error-call-to-undefined-function-mssql_connect/#findComment-128820 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.