1

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.

1 Answer 1

1

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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.