Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just installed php 5.3 on windows server 2008 R2 running IIS7. phpinfo() is working fine.

now I want to see if I have correctly installed the Microsoft Drivers for PHP for SQL Server.

I downloaded from here:

I have dropped the 2 dlls (php_pdo_sqlsrv_53_nts_vc9.dll and php_sqlsrv_53_nts_vc9.dll) into the PHP\ext folder and referenced them in the php.ini I restarted the server.

But when I run phpinfo() I'm not seeing any reference to sqlsrv is that normal? or should there also be a section of phpinfo() dedicated to these sqlsrv extensions?

Error logging is on but there are no errors coming up in the php-errors.log referring to sqlsrv. Both files php_pdo_sqlsrv_53_nts_vc9.dll and php_sqlsrv_53_nts_vc9.dll have been added (non thread safe version for IIS), php5.dll is present in the php install folder.

Thanks for any pointers.

share|improve this question

closed as too localized by mgorven, mdpc, Tim Brigham, Ward, Tom O'Connor May 21 '13 at 13:19

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

There was a problem with the php.ini not having saved for some strange reason. Now is all good. To anyone else that lands here, make sure you've got extension_dir="C:\PHP\ext" in your php.ini though my problem was elsewhere...

share|improve this answer
That's exacly what happened to me, thanks! – Szymon Toda Nov 11 '14 at 17:13

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