|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #61931 Built-in web server should have a seperate log file
Submitted: 2012-05-03 20:46 UTC Modified: -
Avg. Score:4.3 ± 1.2
Reproduced:10 of 10 (100.0%)
Same Version:7 (70.0%)
Same OS:4 (40.0%)
From: roberts at x0 dot lv Assigned:
Status: Open Package: Built-in web server
PHP Version: 5.4.2 OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-05-03 20:46 UTC] roberts at x0 dot lv
All PHP version 5.4.+ built-in web servers does log errors only in STDOUT 
with no option to redirect this output to file via command line option. Command 
line redirect would not be a option here, as because one needs to stop PHP web 
server instance before output gets written to the file. 

There should be .ini option added - server_log or similar, to 
configure log output to file or to STDOUT.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-03 10:06 UTC] clavie dot b at gmail dot com

I agree that it should be possible to redirect the log to a separate file. But I 
would see that as an option to the built-in server command rather than a new ini 
configuration option.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 05:01:24 2023 UTC