From: david at davidsteinsland dot net Operating system: CentOS 6.2 PHP version: 5.4.11 Package: Streams related Bug Type: Bug Bug description:Missing streams http and ftp
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 bug report at https://bugs.php.net/bug.php?id=64097&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64097&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64097&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64097&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64097&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64097&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64097&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64097&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64097&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64097&r=support Expected behavior: https://bugs.php.net/fix.php?id=64097&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64097&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64097&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64097&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64097&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64097&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64097&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64097&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64097&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64097&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64097&r=mysqlcfg