0

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.

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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