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

I am having difficulties getting the SQL Server extension to work with PHP on Windows Server. The installation went fine and I'm able to load phpinfo through the browser. However, when I enable php_sqlsrv_54_ts.dll, it throws a 500 - Internal server error. There are no errors logged to the PHP log.

Here are the steps I've performed:

Enabled extensions

Disabled extensions

System: Windows Server 2008 R2 Standard Edition SP1 x64

PHP: Version 5.4.10 (Thread Safety enabled)

Server API: CGI/FastCGI

Resources I've tried:

* I have not yet tried the Web Platform Installer as I've read that it may corrupt the IIS installation.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Turns out I had downloaded and installed VC9 x86 Thread Safe. After I removed it and tried VC9 x86 Non Thread Safe. I also needed to download SQL Server 2012 Native Client as it contains 11.0 drivers.

share|improve this answer

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.