Mantis - php5
Viewing Issue Advanced Details
4627 regular use minor always 2010-12-06 21:24 2011-10-23 05:11
Chris Majewski  
bwalton  
normal  
closed  
fixed  
none    
none  
0004627: No http wrapper for XXXXX?
Code:
    $data = file_get_contents('http://cnn.com'); [^]
print "DATA:$data:<br/>\n";

produces:
DATA::<br/>

Error:
[Mon Dec 06 20:19:22 2010] [error] [client 132.xx.yy.zz] PHP Notice: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Unable to find the wrapper "http" - did you forget to enable it when you configured PHP? in /xx/yy/zz.php on line ##
[Mon Dec 06 20:19:22 2010] [error] [client 132.xx.yy.zz] PHP XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ##

Code to confirm:
<?php var_dump(stream_get_wrappers()); ?>

Produces:
array(4) {
  [0]=>
  string(3) "php"
  [1]=>
  string(4) "file"
  [2]=>
  string(4) "data"
  [3]=>
  string(13) "compress.zlib"
}

No http, should this not be standard?
Issue History
2010-12-06 21:24 Chris Majewski New Issue
2010-12-30 14:47 markp Note Added: 0008645
2011-06-29 03:57 bwalton Status new => assigned
2011-06-29 03:57 bwalton Assigned To => bwalton
2011-06-29 03:58 bwalton Note Added: 0009156
2011-10-23 05:11 bwalton Note Added: 0009362
2011-10-23 05:11 bwalton Status assigned => closed
2011-10-23 05:11 bwalton Resolution open => fixed

Notes
(0008645)
markp   
2010-12-30 14:47   
It looks like it's provided by CSWphp5curl
(0009156)
bwalton   
2011-06-29 03:58   
This is fixed in the pending update. Please test packages available here: http://buildfarm.opencsw.org/experimental.html#php5 [^]

Thanks
-Ben
(0009362)
bwalton   
2011-10-23 05:11   
Updated packages released to dublin catalog.