[php5 0005164]: http wrapper not found

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Wed Apr 16 17:28:45 CEST 2014


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5164 
====================================================================== 
Reported By:                ace808
Assigned To:                dam
====================================================================== 
Project:                    php5
Issue ID:                   5164
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2014-04-15 23:43 CEST
Last Modified:              2014-04-16 17:28 CEST
====================================================================== 
Summary:                    http wrapper not found
Description: 
Trying to use composer to update php libraries yeilds an error: 
Unable to find the wrapper "http" - did you forget to enable it when you
configured PHP?

Executing var_dump(stream_get_wrappers()); yeilds

array(10) {
  [0]=>
  string(13) "compress.zlib"
  [1]=>
  string(14) "compress.bzip2"
  [2]=>
  string(5) "https"
  [3]=>
  string(4) "ftps"
  [4]=>
  string(3) "php"
  [5]=>
  string(4) "file"
  [6]=>
  string(4) "glob"
  [7]=>
  string(4) "data"
  [8]=>
  string(3) "zip"
  [9]=>
  string(4) "phar"
}

There's no http wrapper.  Is there some sort of way to add it?
====================================================================== 

---------------------------------------------------------------------- 
 (0010801) ace808 (reporter) - 2014-04-16 17:28
 https://www.opencsw.org/mantis/view.php?id=5164#c10801 
---------------------------------------------------------------------- 
Thank you very much for getting back to me so fast.

Unfortunately, doing further research indicates the problem is with the 

CONFIGURE_ARGS += --with-curlwrappers

line. Apparently I'm getting improper responses from sites because of
this.

See: https://www.facebook.com/note.php?note_id=290180466652 at the bottom
of the page for some more details.

Another example my specific problem can be found here:

http://www.inmotionhosting.com/support/community-support/how-to/how-to-disable-withcurlwrappers-on-php-compile-on-my-vps

But the solution provided doesn't apply in this case.

There have been some other issues relating to including curlwrappers as
well I have found.

I can try to recompile using the php5_dev package without curlwrappers and
see if that fixes the problem.

Thanks again for your attention.



More information about the bug-notifications mailing list