php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48818 Crash with set error_log var
Submitted: 2009-07-06 14:58 UTC Modified: 2009-07-07 15:31 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: den dot gierling at web dot de Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.3.0 OS: WinXP SP3x86+Apache2.2.11
Private report: No CVE-ID: None
 [2009-07-06 14:58 UTC] den dot gierling at web dot de
Description:
------------
I did set error_log var in php.ini and tested the phpinfo() function.
Result: Firefox and IE loaded the page one second and then forwarding to: connection reset.
I tested it with mysql_connect() too, same result.
I comment error_log variable then, all was ok.

Used PHP5 (php5apache2_2.dll) as modul in Apache, Apache as service. Modules commented out: mysql, mysqli, pdo_mysql

Reproduce code:
---------------
phpinfo();
//or
mysql_connect("l","root"); mysql_query("SET NAMES utf8"); echo mysql_error();

Expected result:
----------------
The phpinfo, or an error of mysql/nothing

Actual result:
--------------
I commented error_log in php.ini.
Now I dont have the problem anymore.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-07 15:31 UTC] jani@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 17:01:29 2024 UTC