php-windows Digest 21 Aug 2006 07:38:56 -0000 Issue 3027
Topics (messages 27114 through 27117):
Re: Which Web Server Do You Use
27114 by: Bob Stout
27115 by: Alex Turner
27116 by: zerof
27117 by: Alex Turner
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Alex Turner wrote:
> All,
>
> For over a year we have been developing our own web server for running
> PHP on windows. We tried Apache 1x and 2x and they did not quite fit
> the bill. The first was not stable enough and the second caused
> threading problems with our COM library.
>
> I am really interested in what configurations other people have gotten
> to work well with PHP on Windows. Especially when they have been
> using the COM interface. We use that A LOT, to contact old fashioned
> COM stuff and to connect through to .NET.
I use BadBlue <http://www.badblue.com/>. It's not too bad for casual use
and it's certainly affordable. My specific application is to do local
development on my WinXP box for deployment to my Linux (Debian) server.
I realize Apache is cheaper (I use the $60 BadBlue Enterprise Edition),
but I need a quick and easy to use tool that doesn't require me to
fiddle much with it.
OTOH, it does have some quirks that are mildly annoying and I'd
certainly be open to alternatives.
--
Bob Stout <[EMAIL PROTECTED]> - The rules of life:
"Either lead, follow, or get out of the way."
"It's easier to get forgiveness than permission."
"90% of everything is garbage."
"Never attribute to malice what can be adequately explained by
stupidity."
--- End Message ---
--- Begin Message ---
Thanks Bob - seems like a cool alternative!
Before we built TAG.net we used EasyPHP for this. It is apache, but in
general does not require any setup - just install and off you go:
www-easyphp-org
I'll make a summary of all the responses if there are enough.
AJ
Bob Stout wrote:
Alex Turner wrote:
All,
For over a year we have been developing our own web server for running
PHP on windows. We tried Apache 1x and 2x and they did not quite fit
the bill. The first was not stable enough and the second caused
threading problems with our COM library.
I am really interested in what configurations other people have gotten
to work well with PHP on Windows. Especially when they have been
using the COM interface. We use that A LOT, to contact old fashioned
COM stuff and to connect through to .NET.
I use BadBlue <http://www.badblue.com/>. It's not too bad for casual use
and it's certainly affordable. My specific application is to do local
development on my WinXP box for deployment to my Linux (Debian) server.
I realize Apache is cheaper (I use the $60 BadBlue Enterprise Edition),
but I need a quick and easy to use tool that doesn't require me to
fiddle much with it.
OTOH, it does have some quirks that are mildly annoying and I'd
certainly be open to alternatives.
--- End Message ---
--- Begin Message ---
Alex Turner escreveu:
All,
For over a year we have been developing our own web server for running
PHP on windows. We tried Apache 1x and 2x and they did not quite fit
the bill. The first was not stable enough and the second caused
threading problems with our COM library.
I am really interested in what configurations other people have gotten
to work well with PHP on Windows. Especially when they have been using
the COM interface. We use that A LOT, to contact old fashioned COM
stuff and to connect through to .NET.
FYI
www.deployview.com - my commercial blog
funkifunctions.blogspot.com - my personal blog
Finally, we have done a fair amount of work figuring out how to optimize
COM from PHP (4 in our case) if anyone is interested in this subject, I
would be happy to write a blog article on it.
Cheers
AJ
-----
This is very strange!!!
I come using Apache 1 (php4) and Apache 2 (php5) in one same Windows
machine, for a long time and never I had these problems.
http://www.educar.pro.br/compl/php45/
-----
zerof
--- End Message ---
--- Begin Message ---
Thanks Zerof,
Apache 1.3 was fine on windows until we hit is very very hard indeed.
Under these conditions it tended to run out of resources and stop
responding with a long recovery time.
Apache 2 has a very different problem. It does use kernel based accepts
etc, so it seems to handle load very much better. However, mod_php on
apache2 does not seem to guarantee that the same thread well continue to
process the same request. Or at least there is an issue around
stack/heap data.
I managed to show this for definite by using windows system calls to
track the current working thread. During one php request, more than one
thread was active, in sequence. The net result of this on COM was that
static data members got out of line with dynamic ones :-(
I also looked into mod_fcgi to try and overcome the threading problem,
but I found that its methods for managing crashed php processes,
resource allocation etc, were insufficient to maintain a stable system
under extreme load.
The server we use now is TAG.net with uses non-blocking windows IO. It
also uses a queue network for resource allocation so that resource is
targeted to priority pages/services when under high load, this was a
requirement of the sort of web application we are building.
Please - I love Apache! We I have been involved on Unix/Linux/FreeBSD
projects Apache is has been a no brainer. For windows though life is
not so simple :-(
Thanks for your input.
AJ
zerof wrote:
Alex Turner escreveu:
All,
For over a year we have been developing our own web server for running
PHP on windows. We tried Apache 1x and 2x and they did not quite fit
the bill. The first was not stable enough and the second caused
threading problems with our COM library.
I am really interested in what configurations other people have gotten
to work well with PHP on Windows. Especially when they have been
using the COM interface. We use that A LOT, to contact old fashioned
COM stuff and to connect through to .NET.
FYI
www.deployview.com - my commercial blog
funkifunctions.blogspot.com - my personal blog
Finally, we have done a fair amount of work figuring out how to
optimize COM from PHP (4 in our case) if anyone is interested in this
subject, I would be happy to write a blog article on it.
Cheers
AJ
-----
This is very strange!!!
I come using Apache 1 (php4) and Apache 2 (php5) in one same Windows
machine, for a long time and never I had these problems.
http://www.educar.pro.br/compl/php45/
-----
zerof
--- End Message ---