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:
- Followed the PHP manual install guide and configuring IIS to process PHP requests
- Downloaded & installed Microsoft Drivers 3.0 for PHP for SQL Server
- Downloaded & installed SQL Server Native Client (
sqlncli.msi
) - Downloaded & installed PHP Manager and performed any recommended changes
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:
- How to install Microsoft's SQL Server Driver for PHP
- PHP / IIS7/ MS-SQL support
- Install PHP 5.4.6 on IIS 7 to work with MS SQL 2008 *
*
I have not yet tried the Web Platform Installer as I've read that it may corrupt the IIS installation.