#26851 [Asn->Csd]: Unable to find the wrapper "http"
| From: | pollita@php.net | Date: | Tue, 13 Jan 2004 16:33:06 +0000 |
| Subject: | #26851 [Asn->Csd]: Unable to find the wrapper "http" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53256@lists.php.net to get a copy of this message | ||
ID: 26851
Updated by: pollita@php.net
Reported By: info at sovall dot cz
-Status: Assigned
+Status: Closed
Bug Type: Filesystem function related
Operating System: win2k
PHP Version: 5CVS-2004-01-09 (dev)
Assigned To: pollita
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-01-13 00:27:50] pollita@php.net
This seems to be related to the new Win32 build system.
Assigning to myself, but secretly looking for Wez in IRC.
------------------------------------------------------------------------
[2004-01-12 02:06:13] info at sovall dot cz
Code snippet output result:
array(3) {
[0]=>
string(3) "php"
[1]=>
string(4) "file"
[2]=>
string(13) "compress.zlib"
}
allow_url_fopen is set to On in php.ini.
------------------------------------------------------------------------
[2004-01-09 11:34:57] pollita@php.net
allow_url_fopen is a PHP_SYSTEM value and cannot be changed in a
script.
That shouldn't be responsible for your error though, could you run this
code snippet and output the results?
<?php
var_dump(stream_get_wrappers());
?>
------------------------------------------------------------------------
[2004-01-09 05:43:12] info at sovall dot cz
Description:
------------
Unable to find the wrapper "http".
Reproduce code:
---------------
<?php
ini_set('allow_url_fopen', '1');
ini_set('user_agent', 'PHP');
$file = fopen ("http://www.php.net/",
"r");
?>
Actual result:
--------------
Notice: fopen() [function.fopen]: Unable to find the wrapper "http" -
did you forget to enable it when you configured PHP?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26851&edit=1