php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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:

(http://www.tiora.net/~chris/test.php)

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

however...

http://www.tiora.net:8080/~chris/test.php 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 http://www.tiora.net:8080/~chris/test.php for more information about my php setup).

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

Thanks in advance!
liam

Patches

Pull Requests

History

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] waldschrott@php.net
no feedback, closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 14:01:32 2025 UTC