Re: PHP 4.0 Bug #7030 Updated: Inconsisitant runtime results on Solaris 2.6 Only

From: Date: Fri, 20 Oct 2000 21:06:38 +0000
Subject: Re: PHP 4.0 Bug #7030 Updated: Inconsisitant runtime results on Solaris 2.6 Only
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-35675@lists.php.net to get a copy of this message
Isn't SUN great with standards? : ) -Jason ----- Original Message ----- From: <sniper@php.net> To: <php-dev@lists.php.net> Sent: Friday, October 20, 2000 11:49 AM Subject: [PHP-DEV] PHP 4.0 Bug #7030 Updated: Inconsisitant runtime results on Solaris 2.6 Only > ID: 7030 > Updated by: sniper > Reported By: brian.camillo@eds.com > Status: Closed > Bug Type: *General Issues > Assigned To: > Comments: > > User reported bug fixed in snapshot. > > --Jani > > Previous Comments: > --------------------------------------------------------------------------- > > [2000-10-18 10:45:15] sniper@php.net > I just fixed one readdir specific (crash) problem. > Please get the latest CVS and try it out. > > --Jani > > --------------------------------------------------------------------------- > > [2000-10-17 17:26:48] sniper@php.net > Do you have any example script to reproduce this behaviour? > > --Jani > > > --------------------------------------------------------------------------- > > [2000-10-05 02:16:16] brian.camillo@eds.com > > > > Well... > > > > It works fine on ...I appologize for the potential > insult...it works fine on > > w2k, IIS 5.0...please don't delete me...ha ha ha!! > > > Shit happens. 8-) > > > > It also works fine on Linux...so I'm going to explore the > Solaris > > configuration for some options. > > > Quite odd. Did you post to the list to see if anyone else can > validate your findings? > > Tuc/TTSG > > Thanks > > Brian > > > > > -----Original Message----- > > > From: Tuc [SMTP:ttsg@ttsg.com] > > > Sent: Monday, October 02, 2000 11:35 AM > > > To: Brian.Camillo@attccc.com > > > Subject: Re: PHP/Apache on Solaris > > > > > > My assumption about reconfiguration is that the php > module is going bad > > > not Apache. > > > > > > Thanks > > > Brian > > > > > > -----Original Message----- > > > From: Tuc [SMTP:ttsg@ttsg.com] > > > Sent: Monday, October 02, 2000 11:35 AM > > > To: Brian.Camillo@attccc.com > > > Subject: Re: PHP/Apache on Solaris > > > > > > > > > > > Thanks for the tip...if I must I will... > > > > > > > Something to look into. > > > > > > > > By cache issue...do you mean browser cache or Apache cache. > > > > > > > Browser. > > > > > > > > Also...I'm going to compare configurations on Solais > and Linux as > > > well as > > > > w2k. > > > > > > > Ok. > > > > > > > > I'm also thinking of changing the way php is integrated > with > > > Apache on > > > > Solaris...Rather than creating an apache module, I'll try a > > > loadable module. > > > > > > > All that does is keep the module out of the server until the > > > first > > > use, then it pulls it in. > > > > > > Tuc/TTSG > > > > Thanks > > > > Brian > > > > > -----Original Message----- > > > > > From: Tuc [SMTP:ttsg@ttsg.com] > > > > > Sent: Sunday, October 01, 2000 1:25 PM > > > > > To: Brian.Camillo@attccc.com > > > > > Subject: Re: PHP/Apache on Solaris > > > > > > > > > > > > > > > > > Hi Scott > > > > > > > > > > > > If you have a moment. I found an interesting > problem running > > > apache > > > > > 1.3.12 > > > > > > with PHP 4.0.2 on Solaris 2.6. > > > > > > > > > > > Ok. > > > > > > > > > > > > I'm writing a PHP script to count files and stuff > like that. > > > I used the > > > > > > following functions to setup a working model. > > > > > > opendir, readdir, closedir. > > > > > > > > > > > Ok. > > > > > > > > > > > > Basically, I use these functions to tally counts > for certain > > > types of > > > > > files. > > > > > > Using the ereg function I scan for certain file > types. I > > > enclose the re > > > > > in > > > > > > single ticks and depending on the results of the > compare I > > > print the > > > > > file > > > > > > and increment a counter. It seems that the total files > > > processed using > > > > > the > > > > > > readdir function is in consistent on Solaris. If I > begin by > > > starting > > > > > the > > > > > > apache server, I will get correct counts. After a few > > > iterations the > > > > > counts > > > > > > begin to error and I have determined that it's not the > > > counters but the > > > > > > number of files read via the readdir function. What > resolves > > > the problem > > > > > > short term is to restart the server. > > > > > > > > > > > Er.... Thats odd. And its not a cache issue, right? > > > > > > > > > > > > I ported the directory to my Linux box and the same > code works > > > > > correctly. > > > > > > Apache and PHP are at the same release levels as on > Solaris. > > > I'm > > > > > running > > > > > > kernel 2.2.14. Any ideas as to who the trouble > maker is. It > > > seems like > > > > > it's > > > > > > PHP, however, I could make an arguement for Apache > also. I > > > was thinking > > > > > > about porting the test case to w2k and IIS 5.0 but > I didn't > > > want to risk > > > > > > insult until the end of my mail...ha ha ha!!. > > > > > > > > > > > > Any suggestions would be appreciated. > > > > > > > > > > > Back down to 3.0.16? > > > > > > > > > > Email php-general@lists.php.net ? > > > > > > > > > > Tuc > > > > > > > > > > > --------------------------------------------------------------------------- > > > Full Bug description available at: http://bugs.php.net/?id=7030 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#35675) next »