Wednesday, May 9, 2012

mssql_query Cause net::ERR_EMPTY_RESPONSE in Chrome

If you get net::ERR_EMPTY_RESPONSE Chrome error message when you want to query some simple select with native mssql_query in PHP, you should set mssql.datetimeconvert = Off in php.ini or use ini_set("mssql.datetimeconvert", false); in the code.

4 comments: