|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-12-21 02:24 UTC] Brian dot White at foxfire74 dot com
Description: ------------ Since the upgrade to 5.2.7/5.2.8 lines in the log file are terminated with "\r\r\n" rather than "\r\n". I am logging to a separate log file, not to the Apache error log; however the error seems not to occur when logging from the CLI, only from the SAPI module. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 21:00:01 2025 UTC |
Running as an Apache 2.2.11 module. (Windows XP SP3) Error handling and logging section from php.ini =============================================== error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off error_log = "/path-to-logs/php/error.log" Simple web page that blows up ============================= <?php ini_set('max_execution_time', 1); $i = 0; do { echo "$i\n"; sleep(1); } while ($i++ < 10); ?> Log file after accessing the above page twice ============================================= [21-Dec-2008 19:02:07] PHP Fatal error: Maximum execution time of 1 second exceeded in \path-to-test-page\46916.php on line 10 [21-Dec-2008 19:03:11] PHP Fatal error: Maximum execution time of 1 second exceeded in \path-to-test-page\46916.php on line 10 Note the extra <CR>s.