|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-22 20:30 UTC] tony2001@php.net
[2006-06-23 14:22 UTC] roclar at gmail dot com
[2006-06-23 14:39 UTC] tony2001@php.net
[2006-06-23 14:44 UTC] roclar at gmail dot com
[2006-06-23 14:52 UTC] tony2001@php.net
[2006-06-23 15:00 UTC] roclar at gmail dot com
[2006-06-23 15:14 UTC] tony2001@php.net
[2006-06-23 15:20 UTC] roclar at gmail dot com
[2006-06-23 15:30 UTC] tony2001@php.net
[2006-06-23 16:12 UTC] roclar at gmail dot com
[2006-07-22 12:19 UTC] sniper@php.net
[2006-07-30 01:00 UTC] php-bugs at lists dot php dot net
[2009-08-26 06:00 UTC] subathrap at sevenstrata dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 02:00:01 2025 UTC |
Description: ------------ Doing an include('http://www.example.com/'); for names local to the server hang and eventually time out a minute later. Using include for external names as well as to localhost and 127.0.0.1 all work as expected. External servers can use include() to load pages on this server. php.ini Fopen wrappers: allow_url_fopen = On default_socket_timeout = 60 Compile time options: LD_LIBRARY_PATH=/oraclesw/instantclient_10_2 export LD_LIBRARY_PATH ./configure \ --prefix=/usr/local/$1 \ --with-apxs=/usr/local/apache/bin/apxs \ --with-ldap=/usr/local \ --with-mysql=/usr/local/mysql \ --with-oci8-instant-client=/oraclesw/ instantclient_10_2 \ --with-ftp \ --with-gd \ --with-gettext \ --with-iconv \ --with-jpeg-dir=/usr/sfw \ --with-openssl=/usr/sfw \ --with-png-dir=/usr/sfw \ --with-zlib \ --with-zlib-dir \ --with-dom=/usr/local \ --with-dom-xslt=/usr/local \ --with-dom-exslt=/usr/local \ --enable-sockets \ --enable-track-vars \ --enable-xml \ --with-expat-dir=/usr/local \ --enable-mbstring=all \ --with-pspell=/usr Reproduce code: --------------- <?php include('http://www.example.com/'); ?> Expected result: ---------------- For the page to be included successfully. Actual result: -------------- Warning: main(http://www.example.com/): failed to open stream: HTTP request failed! in /path/to/script/testit.php on line 3 Warning: main(): Failed opening 'http://www.wm.edu/it/' for inclusion (include_path='.:/usr/local/php/lib/php') in /path/ to/script/testit.php on line 3