Enabling MSSQL Support

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Gyto
Forum Newbie
Posts: 1
Joined: Fri Jun 25, 2010 5:33 am

Enabling MSSQL Support

Post 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
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: Enabling MSSQL Support

Post by Doug G »

Check your php.ini file, there is a section where you can enable or disable extensions.
User avatar
liljester
Forum Contributor
Posts: 400
Joined: Tue May 20, 2003 4:49 pm

Re: Enabling MSSQL Support

Post 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.
Post Reply