Edit report at https://bugs.php.net/bug.php?id=64097&edit=1
ID: 64097 Updated by: cataphr...@php.net Reported by: david at davidsteinsland dot net Summary: Missing streams http and ftp -Status: Open +Status: Feedback Type: Bug Package: Streams related Operating System: CentOS 6.2 PHP Version: 5.4.11 Block user comment: N Private report: N New Comment: Please try using this snapshot: http://snaps.php.net/php5.4-latest.tar.gz For Windows: http://windows.php.net/snapshots/ I can reproduce this in 5.4.6 -- if curl is NOT loaded. Not with the 5.4 head, though. So this is probably already fixed. Try with a snapshot. Previous Comments: ------------------------------------------------------------------------ [2013-01-29 14:58:57] david at davidsteinsland dot net Description: ------------ I have compiled PHP 5.4.6. with the following config: ./configure --with-libdir=lib64 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --prefix=/usr --enable-calendar --enable-dom=shared --enable-xmlreader=shared --enable-xmlwriter=shared --enable-bcmath=shared --enable-pcntl --enable-sysvshm=shared --enable-sysvmsg=shared --enable-shmop --enable-exif --enable-zip=shared --enable-ftp --enable-mbstring=shared --enable-sockets --enable-soap=shared --enable-gd-native-ttf --enable-intl=shared --enable-xml --enable-libxml --with-layout=PHP --without-pear --with-apxs2 --with-gmp --with-pcre-regex=/usr --with-mcrypt=shared --with-mhash --with-zlib --with-bz2 --with-iconv --with-icu-dir=/usr --with-gettext --with-pspell=shared --enable-posix=shared --with-openssl=shared --with-curl=shared --with-curlwrappers --with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-vpx-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr --with-libxml-dir=/usr --with-mysql=mysqlnd --with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd --with-xmlrpc=shared --with-xsl=shared --with-tidy=shared,/usr --with-readline=shared But I haven't got the HTTP and FTP streams registered. cURL is enabled. Allow_url_fopen is ON. Registered PHP Streams: compress.zlib, compress.bzip2, php, file, glob, data, https, ftps, phar, zip Registered Stream Socket Transports: tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters: zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*, http.* Test script: --------------- file_get_contents ("http://google.com/"); Expected result: ---------------- The HTML of the URL. Actual result: -------------- Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget to enable it when you configured PHP? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64097&edit=1