The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Httpd.conf does not have StartServers (apache 2.2.6)

Discussion in 'EasyApache' started by ITDevil, Dec 27, 2007.

  1. ITDevil

    ITDevil Member

    Joined:
    Aug 22, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    A few weeks ago i compiled my server using EasyApache3, but currently it putting a lot load on server, so i thought to tweak httpd.conf but when i opened httpd.conf i was unable to find values for

    PHP:
    StartServers 
    MinSpareServers
    MaxSpareServers
    MaxClients
    MaxRequestsPerChild
    apache was complied with prefork modules

    PHP:
    [root@s1 ~]# 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_dbd
    .c
      mod_include
    .c
      mod_filter
    .c
      mod_log_config
    .c
      mod_logio
    .c
      mod_env
    .c
      mod_expires
    .c
      mod_headers
    .c
      mod_unique_id
    .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
      mod_ssl
    .c
      prefork
    .c
      http_core
    .c
      mod_mime
    .c
      mod_status
    .c
      mod_autoindex
    .c
      mod_asis
    .c
      mod_info
    .c
      mod_suexec
    .c
      mod_cgi
    .c
      mod_vhost_alias
    .c
      mod_negotiation
    .c
      mod_dir
    .c
      mod_imagemap
    .c
      mod_actions
    .c
      mod_userdir
    .c
      mod_alias
    .c
      mod_rewrite
    .c
      mod_so
    .c
    And the fallowing code is added twice in httpd.conf


    Line 24 - 33
    PHP:
    AddHandler cgi-script .cgi .pl .plx .ppl .perl
    AddHandler server
    -parsed .shtml

    AddType text
    /html .shtml
    AddType application
    /x-tar .tgz
    AddType text
    /vnd.wap.wml .wml
    AddType image
    /vnd.wap.wbmp .wbmp
    AddType text
    /vnd.wap.wmlscript .wmls
    AddType application
    /vnd.wap.wmlc .wmlc
    AddType application
    /vnd.wap.wmlscriptc .wmlsc
    Line 150 - 158
    PHP:
    AddHandler cgi-script .cgi .pl .plx .ppl .perl
    AddHandler server
    -parsed .shtml
    AddType text
    /html .shtml
    AddType application
    /x-tar .tgz
    AddType text
    /vnd.wap.wml .wml
    AddType image
    /vnd.wap.wbmp .wbmp
    AddType text
    /vnd.wap.wmlscript .wmls
    AddType application
    /vnd.wap.wmlc .wmlc
    AddType application
    /vnd.wap.wmlscriptc .wmlsc
    any idea, what is wrong ?

    Thank You!
     
  2. trhosting.net

    trhosting.net Well-Known Member

    Joined:
    Mar 7, 2006
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Turkey
    You can find these settings in http-mpm.conf file located on /usr/local/apache/conf/extra
     
Loading...

Share This Page