Re: [PHP4BETA] require, include, use, virtual ..

From: Date: Wed, 01 Dec 1999 12:31:56 +0000
Subject: Re: [PHP4BETA] require, include, use, virtual ..
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7166@lists.php.net to get a copy of this message
this is a "new" bug and we hope that it will be fixed shortly! tc On Wed, 1 Dec 1999, Harold wrote: > when i use 'require', 'include', or 'use' it will not close the > open files > when its finished.. you can see this with the lsof command (/usr/sbin).. > when i try a virutal, it will close itself properly - and the other open > files from require, include, or use.. > > for example.. the lsof of http (with a wc) is at 375.. when we make a simple > page with 'include', 'require', or 'use' it will increment by 1 > on each load > of the page (due to it opening 1 extra file).. now, back at 375, when we use > a 'virtual' include, it closes itself, and drops the number down to 343.. > one refresh later and its 282.. another refresh and its 249.. > > since our includes have an extension of .inc, we can see that by the list of > lsof ONLY the .inc files remain open.. not the .php files that called them.. > > yes, i have .inc set in httpd.conf.. it still does the same thing with or > without it. > yes, i have also tried .php for an include.. still the same results. > > as i said before, this has only happend with us with beta4cvs.. the other > betas dont have this problem.. > > i dont know if this is a problem with php, or our setup.. but for a > temporary solution we will use a 'virtual' include to close the open pages > left by our 'include' includes.. > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#7166) next »