#33770 [NEW]: file() does not work with https on 64-bit Linux
From: subscription at nazarenko dot net
Operating system: Linux SuSE 9.3
PHP version: 5.0.4
PHP Bug Type: OpenSSL related
Bug description: file() does not work with https on 64-bit Linux
Description:
------------
I have 64bit SuSE 9.3 and try to use file() function to read a webpage via
http/https.
The http protocol is ok, however https returns empty result without any
errors/notices (E_ALL is on).
I have compiled in OpenSSL support (OpenSSL is v0.9.7e).
I have another machine with 32bit Linux on it in the same network, I have
compiled PHP with similar settings and https works fine on it.
Reproduce code:
---------------
Using the following configure:
./configure --with-snmp --enable-cli --with-curl \
-disable-dom --prefix=/usr --disable-cgi \
--disable-spl --disable-xml --without-pear \
--disable-ipv6 --enable-shmop --enable-pcntl \
--without-iconv --disable-ctype --disable-libxml \
--enable-sysvsem --enable-sysvshm --enable-sockets \
--without-sqlite --disable-session --enable-sigchild \
--disable-simplexml --disable-tokenizer \
--with-curlwrappers --enable-memory-limit \
--enable-discard-path --program-suffix=-net \
--enable-ucd-snmp-hack --with-config-file-path=/etc \
--with-mysqli=/usr/bin/mysql_config
--
Edit bug report at http://bugs.php.net/?id=33770&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33770&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33770&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33770&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33770&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33770&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33770&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33770&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33770&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33770&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33770&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33770&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33770&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33770&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33770&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33770&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33770&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33770&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33770&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33770&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33770&r=mysqlcfg
Thread (23 messages)
- subscription at nazarenko dot net
- tony2001@php.net#33770 [Opn->Fbk]: file() does not work with https on 64-bit Linux
- subscription at nazarenko dot net#33770 [Fbk->Opn]: file() does not work with https on 64-bit Linux
- sniper@php.net#33770 [Opn]: file() does not work with https on 64-bit Linux
- sniper@php.net#33770 [Opn->Fbk]: file() does not work with https on 64-bit Linux
- subscription at nazarenko dot net#33770 [Fbk->Opn]: file() does not work with https when curl wrappers are compiled in
- subscription at nazarenko dot net#33770 [Opn]: https:// or ftps:// do not work with --with-openssl and --with-curlwrappers
- sniper@php.net#33770 [Opn->Fbk]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- subscription at nazarenko dot net#33770 [Fbk->Opn]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- sniper@php.net#33770 [Opn->Fbk]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- wez@php.net#33770 [Fbk]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- subscription at nazarenko dot net#33770 [NoF->Opn]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- tony2001@php.net#33770 [Opn->Fbk]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- subscription at nazarenko dot net#33770 [Fbk->Opn]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- tony2001@php.net#33770 [Opn->Fbk]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- subscription at nazarenko dot net#33770 [Fbk->Opn]: https:// or ftps:// do not work with both --with-openssl and --with-curlwrappers
- sniper@php.net#33770 [Opn->Fbk]: https:// or ftps:// do not work when --with-curlwrappers is used
- subscription at nazarenko dot net#33770 [NoF->Opn]: https:// or ftps:// do not work when --with-curlwrappers is used
- sniper@php.net#33770 [Opn]: https:// or ftps:// do not work when --with-curlwrappers is used
- subscription at nazarenko dot net#33770 [Opn]: https:// or ftps:// do not work when --with-curlwrappers is used
- tony2001@php.net#33770 [Opn->Asn]: https:// or ftps:// do not work when --with-curlwrappers is used
- iliaa@php.net#33770 [Asn->Csd]: https:// or ftps:// do not work when --with-curlwrappers is used
- galaxy4public+php at gmail dot comBug #33770 [Com]: https:// or ftps:// do not work when --with-curlwrappers is used