Re: [PHP4BETA] Re: [PHP-DEV] Should php3_fopen_for_parser change the current working directory?
| From: | Thies C. Arntzen | Date: | Wed, 24 Nov 1999 09:14:19 +0000 |
| Subject: | Re: [PHP4BETA] Re: [PHP-DEV] Should php3_fopen_for_parser change the current working directory? | ||
| References: | 1 | Groups: | php.dev php.version4 |
| Request: | Send a blank email to php-version4+get-6835@lists.php.net to get a copy of this message | ||
On 23 Nov 1999, David Hedbor wrote:
> Sascha Schumann <sascha@schumann.cx> writes:
>
> > On Tue, Nov 23, 1999 at 07:23:27PM -0500, rubys@us.ibm.com wrote:
> > >
> > >
> > > Recap:
> > >
> > > Virtually simultaneously, I suggested that this code be removed, David
> > > Hedbor suggested it be made virtual (emulated), and Sascha Schumann added
> > > this to the todo list.
> >
> > In fact, this was discussed some months ago already.
> >
> > > I believe that Sascha and David are on the right long term path. For the
> > > short term, I would like to propose that this code be guarded with an IFDEF
> > > specifically for Apache and CGI.
> >
> > You can make it more general: For everything which does not
> > use ZTS.
>
> Well, that is not entirely a good idea. The Roxen module currently
> doesn't use ZTS (actually doesn't work with it). It's still a problem
> since Roxen itself is threaded. What I did is to have a mutex lock
> that prevents running more than one PHP script at any one time. Maybe
> it could simply be a configure option, that would be automatically
> enabled by ZTS and Roxen (to take two examples)? Ie when ZTS is on, it
> would be enabled w/o extra effort from the person compiling the
> source.
david,
add NO_GLOBAL_LOCK to you CFLAGS - right now there's a global lock in
main.c. (sascha put it in for some reason i forgot - maybe 'cause it
wasn't as stable on with aolserver as we thought)
our goal for B4 should be to be fully thread-safe on unix & win32.
tc
>
> --
> [ Below is a random fortune, which is unrelated to the above message. ]
> Computers can figure out all kinds of problems, except the things in
> the world that just don't add up.
>
>
> --
> 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