|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: roberts at x0 dot lv
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 07:01:30 2024 UTC