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.

Easy apache compiles it's own list regardless of what is chosen?

Discussion in 'EasyApache' started by cgilbert001, Sep 1, 2009.

  1. cgilbert001

    cgilbert001 Registered

    Joined:
    Jun 17, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I configured EasyApache to install apache2, php5, and a variety of modules, then let it rebuild itself.

    What I don't understand is why when I do 'httpd -l' or 'httpd -M' there are so many modules loaded which I didn't specify to be part of the build:

    this is the output from 'httpd -l':
    Code:
      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_deflate.c
      mod_log_config.c
      mod_logio.c
      mod_env.c
      mod_mime_magic.c
      mod_expires.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_negotiation.c
      mod_dir.c
      mod_actions.c
      mod_userdir.c
      mod_alias.c
      mod_rewrite.c
      mod_so.c
    ...and...

    the output from 'httpd -M':
    Code:
    Loaded Modules:
     core_module (static)
     authn_file_module (static)
     authn_default_module (static)
     authz_host_module (static)
     authz_groupfile_module (static)
     authz_user_module (static)
     authz_default_module (static)
     auth_basic_module (static)
     include_module (static)
     filter_module (static)
     deflate_module (static)
     log_config_module (static)
     logio_module (static)
     env_module (static)
     mime_magic_module (static)
     expires_module (static)
     setenvif_module (static)
     proxy_module (static)
     proxy_connect_module (static)
     proxy_ftp_module (static)
     proxy_http_module (static)
     proxy_ajp_module (static)
     proxy_balancer_module (static)
     ssl_module (static)
     mpm_prefork_module (static)
     http_module (static)
     mime_module (static)
     status_module (static)
     autoindex_module (static)
     asis_module (static)
     info_module (static)
     suexec_module (static)
     cgi_module (static)
     negotiation_module (static)
     dir_module (static)
     actions_module (static)
     userdir_module (static)
     alias_module (static)
     rewrite_module (static)
     so_module (static)
     bwlimited_module (shared)
     disable_suexec_module (shared)
     php5_module (shared)
    Is this the result of something specific that WHM/Cpanel enforces on apache builds or something like that? I'd really like to be able to get rid of some of the loaded modules for memory reasons....
     
    #1 cgilbert001, Sep 1, 2009
    Last edited: Sep 1, 2009
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Apache modules that are required for cPanel functionality to function (such as mod_rewrite and mod_auth_basic) are always compiled into Apache when using EasyApache. We do not support the removal of such critical modules from Apache via EasyApache at this time.
     
Loading...

Share This Page