RE: Apache 2.0.40 and PHP 4.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you temporarily enable the mod_info module in /etc/httpd/conf/httpd.conf:


  LoadModule info_module modules/mod_info.so

  # Allow remote server configuration reports, with the URL of
  # http://servername/server-info (requires that mod_info.c be loaded).
  # Change the ".your-domain.com" to match your domain to enable.
  #
  <IfModule mod_info.c>
  <Location /server-info>
      SetHandler server-info
      Order deny,allow
      Deny from all
      Allow from .your-domain.com
  </Location>
  </IfModule>

then hit your web server as http://webserver/server-info, you will see a
list of modules loaded.  If you should see a list of loaded modules,
including prefork.c.  If you select the "Server Settings" link at the
beginning of the modules list, you'll get the MPM and threading information.


Cheers! 


-----Original Message-----
From: Bret Hughes [mailto:bhughes@xxxxxxxxxxxxx]
Sent: Tuesday, December 09, 2003 2:44 PM
To: redhat-list@xxxxxxxxxx
Subject: Re: Apache 2.0.40 and PHP 4.2.2


On Tue, 2003-12-09 at 01:08, John Nichel wrote:
> Bret Hughes wrote:
> 
> > On Mon, 2003-12-08 at 21:53, John Nichel wrote:
> > 
> >>>On Mon, 2003-12-08 at 22:17, John Nichel wrote:
> >>>
> >>>
> >>>
> >>>>But the PHP group strongly recommends that you do NOT use any version
of 
> >>>>PHP with Apache2 in a production enviroment.  They recommend that you 
> >>>>stick with the 1.3.x versions of Apache.
> >>>
> To my understanding, it's not a Red Hat (or Linux, or Windows, etc) 
> problem.  I think it has to do with the way Apache 2 handles threads vs. 
> 3 party modules in php.  Here's one of the conversations that took place 
> on the php list (Rasmus Lerdorf, the creator of php is involved in the 
> discussion)....
> 
> http://marc.theaimsgroup.com/?l=php-general&m=104323013713026&w=2
> 

Thanks.  After reading this thread I feel somewhat  more educated.

Now I am wondering how to tell if apache is running in prefork mode.

I see this in httpd.conf (fedora) 
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
MaxRequestsPerChild 100
</IfModule>


but locate prefork only finds doc files.

How do I tell if it is running prefork and essentially is thread safe
with using php?

I found the following saying that RH 8 uses prefork and I assume that
this is true for all RH builds.  But the question remains, How do I
tell?

Bret


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux