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
 [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-2019 The PHP Group
All rights reserved.
Last updated: Sun Feb 17 17:01:25 2019 UTC