|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-02-20 14:46 UTC] cmb@php.net
-Package: Website problem
+Package: Systems problem
[2018-02-23 06:46 UTC] ssv dot uia at mail dot ru
[2018-02-24 16:42 UTC] receiver at timreeves dot de
[2018-02-25 01:44 UTC] rasmus@php.net
[2018-10-27 16:57 UTC] tstarling@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: tstarling
[2018-10-27 16:57 UTC] tstarling@php.net
[2018-10-27 17:01 UTC] tstarling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 21:00:01 2025 UTC |
Description: ------------ As stated, the website www.php.net has an IPv6 address assigned in DNS - 2001:660:7401:211::36 - but is not reachable via webserver. I discovered this the hard way: I tried to install software on a Debian-8 Server which does this while checking requirements: file_get_contents("http://www.php.net/releases/index.php?serialize=1"); On Debian 8 (Hetzner, Germany, with Plesk Onyx) this hangs until the webserver times out, the software cannot be installed. On Ubuntu Servers and other Webhosting Packages this does not occur, either becuae IPv4 is preferred or the OS does not hang on IPv6 but soon goes to IPv4. I cannot find any way around this using PHP open URL, But id is possible to get around it using curl in PHP and passing CURL_IPRESOLVE_V4 option - that works fine. Test script: --------------- http://ipv6-test.com/validate.php and enter www.php.net