Page 1 of 1

Enabling MSSQL Support

Posted: Fri Jun 25, 2010 5:43 am
by Gyto
Hi there,

I have installed PHP v5.3.2 on our new web server, but it appears it does not come with the MSSQL extension built in (I have run phpinfo(); and it says --without-mssql, plus it is not listed in the 'PHP Credits' section like it was on our old server). We are running Windows Server 2008.

I have tried various instructions from google but nothing seems to work. Does anyone know if there's a simple way to enable this?

I'm more of a DBA than a developer or a 'webmaster', so forgive me if I'm a bit ignorant...!

Thanks,

Matt

Re: Enabling MSSQL Support

Posted: Sat Jun 26, 2010 12:16 am
by Doug G
Check your php.ini file, there is a section where you can enable or disable extensions.

Re: Enabling MSSQL Support

Posted: Sun Jul 11, 2010 8:01 pm
by liljester
i may be a little late to this party, but, php_mssql is built on an outdated library. if you enable php_mssql in your ini file you need to copy 'ntwdblib.dll' to your server in the system32 directory... OR there is a mssql extension developed my microsft you can use.. i have not tried the PDO mssql extension yet, but that may be an alternative also.