|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26851 Unable to find the wrapper "http"
Submitted: 2004-01-09 05:43 UTC Modified: 2004-01-13 11:33 UTC
From: info at sovall dot cz Assigned: pollita (profile)
Status: Closed Package: Filesystem function related
PHP Version: 5CVS-2004-01-09 (dev) OS: win2k
Private report: No CVE-ID: None
 [2004-01-09 05:43 UTC] info at sovall dot cz
Unable to find the wrapper "http".

Reproduce code:
ini_set('allow_url_fopen', '1');
ini_set('user_agent', 'PHP');
$file = fopen ("", "r");

Actual result:
Notice: fopen() [function.fopen]: Unable to find the wrapper "http" - did you forget to enable it when you configured PHP?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-09 11:34 UTC]
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?

 [2004-01-12 02:06 UTC] info at sovall dot cz
Code snippet output result:

array(3) {
  string(3) "php"
  string(4) "file"
  string(13) "compress.zlib"

allow_url_fopen is set to On in php.ini.
 [2004-01-13 00:27 UTC]
This seems to be related to the new Win32 build system.

Assigning to myself, but secretly looking for Wez in IRC.
 [2004-01-13 11:33 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 01 07:05:52 2023 UTC