Logging from Microsoft SQL Server Driver for PHP uses a different time to normal logging.
Hello.
I activated all logging for the sqlsvr extension.
Ran ...
php -r "phpinfo();"
Log file contains ...
[03-Sep-2009 10:45:00] PHP_MINIT_FUNCTION for php_sqlsrv: entering
[03-Sep-2009 09:45:00] sqlsrv: entering rinit
[03-Sep-2009 09:45:00] sqlsrv.WarningsReturnAsErrors = On
[03-Sep-2009 09:45:00] sqlsrv.LogSeverity = 255
[03-Sep-2009 09:45:00] sqlsrv.LogSubsystems = 255
[03-Sep-2009 09:45:02] sqlsrv: entering rshutdown
The time logged in the error log file for PHP functions uses the current time which is in DST : British Summer Time (UTC+0100 currently). The driver logs the time without the DST offset.
Work Item Details
Original CodePlex Issue: Issue 14039 Status: Proposed Reason Closed: Unassigned Assigned to: Unassigned Reported on: Sep 3, 2009 at 9:50 AM Reported by: RQuadling Updated on: Sep 3, 2009 at 9:50 AM Updated by: RQuadling
No longer able to reproduce this. Closing the issue.