#47709 [Opn->Bgs]: file_get_contents causes kernel to load ipv6-modul
| From: | jani@php.net | Date: | Sat, 21 Mar 2009 23:15:29 +0000 |
| Subject: | #47709 [Opn->Bgs]: file_get_contents causes kernel to load ipv6-modul | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134975@lists.php.net to get a copy of this message | ||
ID: 47709
Updated by: jani@php.net
Reported By: jh2000 at root24 dot eu
-Status: Open
+Status: Bogus
Bug Type: Network related
Operating System: Debian
PHP Version: 5.2.9
New Comment:
This has nothing to do with PHP..
Previous Comments:
------------------------------------------------------------------------
[2009-03-19 00:15:07] crrodriguez at opensuse dot org
PHP does not load kernel modules, it is the OS that does that.
------------------------------------------------------------------------
[2009-03-18 20:13:53] jh2000 at root24 dot eu
Description:
------------
php with ipv6 support tris to get ipv6 ready even if it´s not needed.
I noticed this while updating the kernel to enable ipv6. I haven't done
a restart yet, so there is the ipv6 module for the new kernel and the
old kernel without ipv6 still running, php does something which causes
the system to try to load the module (failing, as expected since it´s
the wrong version)
There should just be an additional check whether php realy needs ipv6
for the url or not. (the target url has no AAAA entry and no ipv6 so
far)
Reproduce code:
---------------
---
From manual page: function.file-get-contents
---
<?
echo file_get_contents("http://somewhere.internet.tld/file");
?>
Expected result:
----------------
content of url
Actual result:
--------------
content of url (with ipv6-failure message in system-log)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47709&edit=1