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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 - 18 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC