Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-05 Thread o_j_p_p
Hello Jeff Schwartz, I heard that Apache 2 is not a stable web server using
PHP parser, for this reasoun I think that in the php.net web site have said
that.

bye.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Diana
Hi,
that sounds really impressive. I'm using Redhat 9 with
the stuff from their Edition, that means Apache 2 and
php together. Never had any issues (so far.keep my
fingers crossed). The server is not under heavy load,
but it is indeed a production server. I know it is
not recommended, but for this use (mysql  apache 
php on that server in a company intranet, used for
keeping a picture library  administration issues) is
it necessary to change it? Please advise. To my
defence I have to say that the data on the server is
backed up regularly, though not the OS itself, since
if something ever happens it is less hassle to do a
complete new install  get the database back on. Any
hints?
Thanks 
Diana

 --- Rasmus Lerdorf [EMAIL PROTECTED] schrieb: 
Apache2 has a number of different modes it can work
 in.  These modes are
 called MPM's.  The default MPM is called Worker
 which is a multithreaded
 model.  PHP, mod_perl, mod_python, and any other
 similar technology which
 links directly into the httpd processes will need to
 be perfectly
 threadsafe and reentrant to work effectively with a
 threaded Apache2 mpm.
 This is doable for the core of PHP, but there are
 literally hundreds of
 3rd party libraries that can be linked into PHP and
 nobody whether or not
 these libraries are threadsafe.  And figuring out if
 a specific library is
 threadsafe or not is non-trivial and it can very
 from one platform to
 another.  And just to make it even harder, this
 stuff will appear to work
 fine until you put it under load or hit very
 specific race conditions
 which makes it nearly impossible to debug.
 
 So, since we can't tell you for sure that a threaded
 Apache2 mpm + PHP
 will work we do not suggest you use it for a
 production server.  And since
 we can't know for sure, none of the main PHP
 developers use this
 combination for our own servers which compounds the
 problem because it is
 not receiving anywhere near the amount of realworld
 testing required to
 work out all the little issues above and beyond this
 threading unknown.
 
 There is an Apache2 mpm, called prefork, which
 isn't threaded and
 basically makes Apache2 look like Apache1.  But hey,
 we have a very good
 server already that looks like Apache1.
 
 In the end I don't see Apache2+PHP ever becoming a
 production platform
 with the current architecture.  The only way I see
 it ever working is to
 pull PHP out of Apache and use a fastcgi approach. 
 Or, with time, perhaps
 we will learn how to make sure a library is
 perfectly threadsafe and safe
 to use in a multithreaded Apache2.
 
 For now, I really see no reason not to simply use
 Apache1 if you want a
 robust, fast and stable web server.
 
 -Rasmus
 

=
WHEN ALL ELSE FAILS, HUG YOUR SNOOPY

Those who bring sunshine to the lives of others cannot keep it from themselves.
J.M. Barrie (1860-1937)


__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Adam i Agnieszka Gasiorowski FNORD
Diana wrote:
 
 Hi,
 that sounds really impressive. I'm using Redhat 9 with
 the stuff from their Edition, that means Apache 2 and
 php together. Never had any issues (so far.keep my
 fingers crossed). The server is not under heavy load,
 but it is indeed a production server. I know it is
 not recommended, but for this use (mysql  apache 
 php on that server in a company intranet, used for
 keeping a picture library  administration issues) is
 it necessary to change it? Please advise. To my
 defence I have to say that the data on the server is
 backed up regularly, though not the OS itself, since
 if something ever happens it is less hassle to do a
 complete new install  get the database back on. Any
 hints?

We (at hyperreal.info) used PHP+Apache 2 for
 a while, but it created so many problems (stability,
 non working SSL, others) that we have returned to
 the 1.3.x version...and now everything works like
 it should :8].

-- 
Seks, seksi, seksolatki... news:pl.soc.seks.moderowana
http://hyperreal.info / ALinkA / bOrk! *  WiNoNa )   (
http://szatanowskie-ladacznice.0-700.pl  foReVeR(  *  )
Poznaj jej zwiewne ksztaty... http://www.opera.com 007


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Sancar Saran
On Thursday 03 July 2003 20:51, Jeff Schwartz wrote:
 The PHP site (under Servers-Apache 2.0) says Do not use Apache 2.0 and PHP
 in a production environment neither on Unix nor on Windows but isn't clear
 whether Linux is included or whether it applies to all Apache 2 releases
 (such as 2.0.46) or just the original 2.0.

 And, Red Hat 9 comes with 2.0 so it's really confusing. Has anyone had any
 experience with this combo?

 Thanks,
 Jeff

Hi,
Not on RH 9. But on gentoo I use apache 2.0, it not for production nor 
development. 

Lots of problems,

Perhaps RH solve someting using own patch, and I repead if you gonna build 
production server. Stay away Apache 2.0

Basicly, when you ecounter a problem, then ask question here,
first response

Use Apache 1.3.27 or someting like that.

Good luck


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Ford, Mike [LSS]
 -Original Message-
 From: Jeff Schwartz [mailto:[EMAIL PROTECTED]
 Sent: 03 July 2003 18:52
 
 The PHP site (under Servers-Apache 2.0) says Do not use 
 Apache 2.0 and PHP in a production environment neither on 
 Unix nor on Windows

Well, that's a clumsily-worded sentence all around (I would guess from a non-native 
English user!).  I assume the writer was trying to emphasize that he meant not to use 
it on any platform, but really Do not use Apache 2.0 and PHP in a production 
environment just about says it all without the embellishment.

  but isn't clear whether Linux is 
 included

Yes, it is.  (And MacOS X!)

  or whether it applies to all Apache 2 releases (such 
 as 2.0.46) or just the original 2.0.

2.0 can usually be taken to mean 2.0.x, and it can in this instance, too.

HTH

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread justin gruenberg
Jeff Schwartz wrote:

The PHP site (under Servers-Apache 2.0) says Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows but isn't clear whether Linux is included or whether it applies to all Apache 2 releases (such as 2.0.46) or just the original 2.0.

And, Red Hat 9 comes with 2.0 so it's really confusing. Has anyone had any experience with this combo?

Thanks,
Jeff
 

When someone says UNIX, they're generally including Linux and BSD, as 
both are UNIX clones.  At this point anyone in their right mind is going 
to suggest you stick with Apache 1.3.x.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php