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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2023 The PHP Group
All rights reserved.
Last updated: Thu Feb 09 13:03:40 2023 UTC