PHP 5.5 and MS SQL Server

Hello folks,

  I am using PHP 5.5 and the database will be MS Sql Server 2008. I am in a Windows environment using IIS 8 Express.
My question concerns that I see there are two flavors of how the commands are constructed.
one precedes the command with mssql_ and the second (PDO) uses sqlsrv_
Excuse my stupidity, but I need to use the mssql version which constructs it commands in the following manner:


Open in new window

In my file, under extensions, what drivers do I load?
This is what is loaded - I am thinking I need to comment out the line for php_pdo_sqlsrv_55.nts.dll
and just have the line: extension=php_sqlsrv_55_nts.dll

Open in new window

Any help is appreciated..
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
PHP 5.5 on Windows Requires the 'sqlsrv' driver and will Not run the 'mssql' driver.  I believe you have the correct drivers loaded in your 'php.ini'.  If you have old code that uses the 'mssql' driver, you will have to rewrite it to use the 'sqlsrv' driver.  Here is the main page for the 'sqlsrv' driver:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OverthereAuthor Commented:
I have to laugh at myself! I gotta thinking abut what I read about 5 times, (from same link) -
php 5 -*REQUIRES *  sqlsrv drivers. I can be dumber as a box of rocks!
And I just log-in in to delete my question and viola!! There you are !!
I thank you for responding and confirming what I thought after posting.
I appreciate it!
 Extracting data like a breeze! :)
But I am sure something will pop up soon!! :)
thank you again..
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.