php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57885 PHP Fatal error: ini_set(): could not open log file for writting
Submitted: 2007-10-22 19:00 UTC Modified: 2009-09-22 11:34 UTC
From: rob_cluett at yahoo dot com Assigned:
Status: Not a bug Package: expect (PECL)
PHP Version: 5.2.1 OS: RHEL4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rob_cluett at yahoo dot com
New email:
PHP Version: OS:

 

 [2007-10-22 19:00 UTC] rob_cluett at yahoo dot com
Description:
------------
When executing a script containing the code   ini_set ("expect.logfile", "php://output"); php spits out PHP Fatal error:  ini_set(): could not open log file for writting

Reproduce code:
---------------
ini_set ("expect.logfile", "php://output"); 

Expected result:
----------------
Normal operation with no errors

Actual result:
--------------
script fails to execute and reports PHP Fatal error:  ini_set(): could not open log file for writting

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-24 10:57 UTC] spektom at gmail dot com
What happens if you try to fopen("php://output", "w") in the same script?
 [2009-09-22 11:34 UTC] spektom at gmail dot com
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

If fopen("php://output", "w") works - 
ini_set("expert.logfile", "php://output") should also work.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 20:01:30 2025 UTC