|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5316 PHP stops working after 124 Virtual hosts in httpd.conf
Submitted: 2000-07-01 21:17 UTC Modified: 2000-08-01 23:12 UTC
From: liam at tiora dot net Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1 OS: Solaris 2.6 x86
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: liam at tiora dot net
New email:
PHP Version: OS:


 [2000-07-01 21:17 UTC] liam at tiora dot net
PHP 4.0.1 (and php3 for that matter) stops working after i add in over 124 virtual hosts in my httpd.conf file.  Once i add one more, doesnt matter what, php stops working.  Though the rest of the webserver doesn't have a problem.

I had this problem with php3 also..but i never could figure it out.  I tried upgrading to php4 and in the process figure out the problem had to do with my virutal_hosts.

Once i go past this 124 limit..i get the following error:


Warning: Failed opening '/home/chris/public_html/test.php' for inclusion (include_path='') in Unknown on line 0

however... works fine.

This is the *same* httpd binary and same httpd.conf with just not as many virtual hosts.

I am running the following:
Apache 1.3.12 with the following modules
PHP 4.0.1
mod_perl 1.24

We have about 140 virtual hosts in our HTTPD.CONF file.

(see for more information about my php setup).

Please feel free to contact me if you need more information.

Thanks in advance!


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-02 12:19 UTC] stas at cvs dot php dot net
You probably are out of filehandles. Try increasing filehandle limit.
 [2000-08-01 23:12 UTC]
no feedback, closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 13 04:01:28 2024 UTC