Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

RE: [PHP3] PHP3/Apache/NT problem From: Shane Caraveo (shane <email protected>)
Date: 07/31/98

> usually the "access denied" situation occurs when a process has
> dependent threads, libraries, or other processes that are "stuck". is
> the php-nt binary multi-threaded now?

No, nore will it ever be multi-threaded in a sence that it controls its own
threads. It will be thread safe and reentrant for multi threaded servers.

However, I do beleive I remember reading that in some instances odbc will
create new threads to handle certain stuff (and certainly some other stuff
as well), so there may be parts of php outside of our control that spin off
other threads. This shouldnt cause any problem, as those threads should
never enter back into php code.

> because I needed IE4... <extreme sarcasm> yeah - those microsoft guys
> are really smart and make my jobs very easy!</extreme sarcasm>

gotta love m$

> anyway - if php is multithreaded now - perhaps a "monitor"
> thread could
> check for some condition that would cause PHP to shutdown.
> for example -
> the existence of a
> \winnt\phpshutdown file?

shouldnt be necessary. I have php on nt with iis4 in a live environment,
and don't have this problem...yet. But anyway, the server modules will
handle this much more effectivly. The problem is being able to consistently
recreate the problem on demand, then to isolate what php is doing in that
instance. I've not been able to make the 'hangup' happen when I try to do
it, so I havent been able to figure out how to fix it.

> Or perhaps run php as a service like asp. I assume the
> service just gets
> a request file piped into it, and it pipes the result back
> out. then if
> php freaked out we could just restart the service. is that a lot of
> work? it might also help make the isapi/nsapi/apache_api
> modules thinner
> on NT.

always thought asp was an isapi module. Oh yeah, they changed it in iis4 to
make it harder for others to integrate it with non-m$ servers.

What do you mean by 'thinner'? Anyway, PHP 3.1 code is available in cvs,
and I have made pre-alpha binaries available, of working isapi and apache
modules. The code is open to be worked on :)

Shane

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3