[PHP] php, fastcgi, mpm-worker and apache bottlenecks

2006-03-12 Thread Dan Rossi
Hi there, im am planning to spec the software install for one of our 
machines that gets an insane ammount of hits and traffic from referring 
sites. Im looking into if running the php for this server under fastcgi 
instead of as a php apache module will help reduce and apache 
bottlenecks ? Most of the scripting is done via perl and fastcgi, but 
there is some third party apps which run on php, there is also minimal 
mysql activity.


Being more specific here, my question is will php running under 
fastcgi, being able to work in a multi-threaded apache environment 
running mpm-worker ? I know its not compatible as im aware, but under 
the standard apache module install. Its a long shot but if anyone has 
any recommendations let me know, or else ill have to stick to 
installing apache2 in pre-fork mode and tweak the settings as much as 
possible ?


Let me know thanks.

Daniel

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



Re: [PHP] php, fastcgi, mpm-worker and apache bottlenecks

2006-03-12 Thread Chris

Dan Rossi wrote:
Hi there, im am planning to spec the software install for one of our 
machines that gets an insane ammount of hits and traffic from referring 
sites. Im looking into if running the php for this server under fastcgi 
instead of as a php apache module will help reduce and apache 
bottlenecks ? Most of the scripting is done via perl and fastcgi, but 
there is some third party apps which run on php, there is also minimal 
mysql activity.


Being more specific here, my question is will php running under fastcgi, 
being able to work in a multi-threaded apache environment running 
mpm-worker ? I know its not compatible as im aware, but under the 
standard apache module install. Its a long shot but if anyone has any 
recommendations let me know, or else ill have to stick to installing 
apache2 in pre-fork mode and tweak the settings as much as possible ?


Don't know about the rest but php will compile fine as a fastcgi module.

Add --enable-fastcgi to your configure command (I don't think there are 
any packages that do this by default so you'll have to compile it from 
source - but I could be wrong).


--
Postgresql  php tutorials
http://www.designmagick.com/

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



Re: [PHP] php, fastcgi, mpm-worker and apache bottlenecks

2006-03-12 Thread Dan Rossi

Source is fine, i never install php with binaries, lets see how i go.

On 13/03/2006, at 1:12 PM, Chris wrote:


Dan Rossi wrote:
Hi there, im am planning to spec the software install for one of our 
machines that gets an insane ammount of hits and traffic from 
referring sites. Im looking into if running the php for this server 
under fastcgi instead of as a php apache module will help reduce and 
apache bottlenecks ? Most of the scripting is done via perl and 
fastcgi, but there is some third party apps which run on php, there 
is also minimal mysql activity.
Being more specific here, my question is will php running under 
fastcgi, being able to work in a multi-threaded apache environment 
running mpm-worker ? I know its not compatible as im aware, but under 
the standard apache module install. Its a long shot but if anyone has 
any recommendations let me know, or else ill have to stick to 
installing apache2 in pre-fork mode and tweak the settings as much as 
possible ?


Don't know about the rest but php will compile fine as a fastcgi 
module.


Add --enable-fastcgi to your configure command (I don't think there 
are any packages that do this by default so you'll have to compile it 
from source - but I could be wrong).


--
Postgresql  php tutorials
http://www.designmagick.com/



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