Re: [PHP] Re: Building sapi_apache2

2005-07-07 Thread Gaby vanhegan
On 6 Jul 2005, at 23:02, Richard Lynch wrote: I suppose I should go read some documentation about what sapi_apache2 actually means/does... Nah. I won't have time to play with it anyway. Why torture myself? I'll send you a beer? :) My current theory, with no supporting evidence whatsoev

Re: [PHP] Re: Building sapi_apache2

2005-07-06 Thread Gaby vanhegan
On 6 Jul 2005, at 00:26, Rasmus Lerdorf wrote: In the "Loaded Modules" Apache section it will show up as mod_php5. There is no code that outputs sapi_apache2, so I am not sure where you are getting that from. The right way to check the sapi is to call php_sapi_name() which will return "apache"

Re: [PHP] Re: Building sapi_apache2

2005-07-05 Thread Gaby vanhegan
On 6 Jul 2005, at 00:00, Rasmus Lerdorf wrote: I suspected that this was the case, from what I read php5 doesn't work with threads yet... There are simply too many moving parts here to ever be sure that there won't be a thread-related race condition somewhere. Ah ha, this makes more sense

Re: [PHP] who can do this without the recursion

2005-07-05 Thread Gaby vanhegan
On 5 Jul 2005, at 23:08, Rene Brehmer wrote: Mostly it impressed me that recursion wasn't "cool" -- just another "tool" and one that you only should pull out 1% of the time. When we learned about recursion it took our teacher 15 minutes to come up with an example for what the heck it was go

Re: [PHP] Re: Building sapi_apache2

2005-07-05 Thread Gaby vanhegan
On 5 Jul 2005, at 21:38, Richard Lynch wrote: ./configure --with-apxs2=/usr/sbin/apxs \ Is that really really 100% for sure guaranteed an Apache 2 apxs and not some left-over Apache 1.x apxs script?... Isn't the Apache2 apxs named, like, apxs2 ??? That's what I thought, but there's only on

Re: [PHP] Re: Building sapi_apache2

2005-07-05 Thread Gaby vanhegan
On 5 Jul 2005, at 15:42, Rasmus Lerdorf wrote: Gaby vanhegan wrote: Somebody previously suggested that I rebuild apache with threading enabled. Will this make a difference? Yeah, it will likely make everything crash in weird on undebuggable ways. (So, don't do that) I suspected

Re: [PHP] Re: Building sapi_apache2

2005-07-05 Thread Gaby vanhegan
On 5 Jul 2005, at 15:07, Rasmus Lerdorf wrote: Gaby vanhegan wrote: Is there a specific compile switch that I need to build Apache with in order to allow php5 to see and use the sapi_apache2 module? I could see nothing specific in a "./configure --help" for either Apache or php.

Re: [PHP] Re: Building sapi_apache2

2005-07-04 Thread Gaby vanhegan
On 4 Jul 2005, at 21:35, Richard Lynch wrote: On Mon, July 4, 2005 12:14 pm, Gaby vanhegan said: On 4 Jul 2005, at 19:58, Catalin Trifu wrote: True, but this is Plesk that is doing this, not my Apache configuration. I've seen PHP5 on Apache2 servers that have the sapi_apache2 m

Re: [PHP] Re: Building sapi_apache2

2005-07-04 Thread Gaby vanhegan
On 4 Jul 2005, at 19:58, Catalin Trifu wrote: I have php 5.0.4 running fine on Fedora Core 2 under Apache 2.0.49. To all intents and purposes, PHP works fine. The only problem I have is with Plesk, which uses the presence of the sapi_apache2 module to turn PHP on or off for the various sites

Re: [PHP] Report

2005-07-04 Thread Gaby vanhegan
On 4 Jul 2005, at 15:09, Miles Thompson wrote: There is a lot of JUNK showing up on this list, and for me this one was the last straw. From "Post Office" at [EMAIL PROTECTED] it had an attachment named Likewise on the php-install list as well. Of the 20 emails I've had over the last few da

[PHP] Building sapi_apache2

2005-07-04 Thread Gaby vanhegan
Hi, I have php 5.0.4 running fine on Fedora Core 2 under Apache 2.0.49. To all intents and purposes, PHP works fine. The only problem I have is with Plesk, which uses the presence of the sapi_apache2 module to turn PHP on or off for the various sites that it controls: php_admin_fl