#37411 [Opn->Bgs]: fopen fails after 2200 VHOST entries
| From: | tony2001@php.net | Date: | Thu, 11 May 2006 18:47:35 +0000 |
| Subject: | #37411 [Opn->Bgs]: fopen fails after 2200 VHOST entries | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96982@lists.php.net to get a copy of this message | ||
ID: 37411
Updated by: tony2001@php.net
Reported By: phpbugs at pureplan dot com
-Status: Open
+Status: Bogus
Bug Type: *URL Functions
Operating System: FreeBSD 5.3-RELEASE
PHP Version: 4.4.2
New Comment:
If you try to search the bug DB you can find at least 20 reports about
it.
It's fixed in CVS. Long time ago.
You have to wait for the next 4.4.x release or (I'd recommend that)
upgrade to 5.1.
Previous Comments:
------------------------------------------------------------------------
[2006-05-11 18:39:30] phpbugs at pureplan dot com
Description:
------------
Pretty simple, fopen works great until with 2,199 vhosts in Apache, but
as soon as we add that last one 2,200 fopen will not work anymore. I am
not sure if it is server related, Apache related or PHP related but I
would really like to know how to fix it.
; PHP INI FILE IS SET TO ON
allow_url_fopen = On
Reproduce code:
---------------
Setup a Apache server with 2,199 VHOST entries, test fopen, works
great. Add one more entry at the bottom of your VHOST file and test
fopen again.
To be more specific fopen FAILS only if you try opening with
http://page... or ftp://.... you can still use a
local path
"/usr/local/apache/vhosts/website.com/".
Expected result:
----------------
FOPEN should work with 10,000 VHOSTS if not more.
Actual result:
--------------
when fopen starts to run the whole page comes out blank right at the
fopen command.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37411&edit=1