Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have looked and looked and google has so far failed to help. I tried enabling the modules, but I just can't get MSSQL to run with WAMP. It keeps telling me that it the function mssql_connect() is undefined. Does anyone know how to set up MSSQL with WAMP? The MSSQL server is on a different machine.

Thanks.

share|improve this question
    
microsoft.com/download/en/… –  Marc B Aug 3 '11 at 19:02
    
I'm not sure, but I think PHP must be compiled -with-mssql / some .dll's must be downloaded. –  JanL Aug 3 '11 at 19:07

1 Answer 1

Try adding this to your php.ini file:

[PHP_MSSQL]
extension=php_mssql.dll

This library contains the mssql functions such as mssql_connect(). Also, make sure php_mssql.dll is in the extensions folder.

share|improve this answer
    
The problem is I'm using php5.3 and this has been removed, so what can I use instead? –  Peter Aug 3 '11 at 19:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.