PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Apache2 ~ Worker or PreFork
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Apache2 ~ Worker or PreFork

Réponse
 
LinkBack Outils de la discussion
Vieux 18/05/2007, 03h18   #1
janedunnie@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Apache2 ~ Worker or PreFork

Hi,

Without root access, is there an easy way to tell if the Linux server
I am using is running Apache as Worker or Prefork?

Failing that, with root access, how would I tell?

Many thanks in advance,
Jane

  Réponse avec citation
Vieux 31/05/2007, 05h48   #2
CamelRichard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache2 ~ Worker or PreFork

Jane,

I'm not sure of the specifics for Linux, but this is how you would
tell for Solaris, and I assume the methods would be very similar:

Under the apache root directory, in this case, /u01/app/apache, cd to
the "build" directory and cat the "config.nice" file. This file
contains the options that were used during configure, for example:

----------------------------------------------

% cat config.nice
#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/u01/app/apache" \
"--disable-ipv6" \
"--enable-so" \
"--enable-rewrite" \
"--enable-proxy" \
"--with-mpm=worker" \
"$@"

----------------------------------------------

in this case, apache was compiled with worker.

another way would be, under the apache root dir, cd to bin:

% ./httpd -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_include.c
mod_filter.c
mod_log_config.c
mod_env.c
mod_setenvif.c
mod_proxy.c
mod_proxy_connect.c
mod_proxy_ftp.c
mod_proxy_http.c
mod_proxy_ajp.c
mod_proxy_balancer.c
worker.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgid.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c

shows that worker was compiled into apache.

You might also find some useful info here:

http://www.camelrichard.org/apache-prefork-vs-worker

Hope that s.


kyle.reynolds@camelrichard.org








On 17 May 2007 19:18:08 -0700, janedunnie@gmail.com wrote:

>Hi,
>
>Without root access, is there an easy way to tell if the Linux server
>I am using is running Apache as Worker or Prefork?
>
>Failing that, with root access, how would I tell?
>
>Many thanks in advance,
>Jane

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07493 seconds with 10 queries