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.

[easyapache] Configuration server

Discussion in 'EasyApache' started by forquato, Aug 31, 2009.

  1. forquato

    forquato Active Member

    Joined:
    Aug 27, 2009
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    i would like to configure my server for my customers. But it should not offer all things existing nowadays. It should support general things.

    Important:
    - less memory(ram) Usage
    - fast working

    It would be GREAT if anyone could give me his/her profile-file.

    I have a lot of questions regarding the installation with easyapache:

    I will begin:

    Step 1:
    - I click to "start installation based on profille" to customize apache and so on.

    Step 2:
    I select the apache Version 2.2.
    Good Idea?

    Step 3:
    I only set PHP 5 (PHP4 not recomended with apache 2.2)

    Step 4:
    I take the newest Version of PHP: 5.2.10

    Step 5

    - I click on the bottom to "exhaustive option list" to see all features

    I Select: (+ means yes, - mens no)


    + Mod SuPHP (Because of Owner-Control and custom php.ini's for domains) right.

    + Disk Cache (for less memory usage) Good Idea?

    - Mod FCGID (don't need, because u have SuPHP right)

    + FIleCache
    (Caching frequently requested files that change very infrequently is a technique for reducing server lo) --> I think good idea.

    ? MPM Event works with MPM Worker together? Should install?

    + MPM Worker (supports Threading, lesss memory, faster) good idea?

    + Vhost Alias Is good?

    -EAccelerator for PHP
    "caches compiled PHP pages ONLY when running in a persistent (DSO/FCGID) manner" --> So if I run SUPHP so i can't use this feature, right?
    Okay, but what ist if i will run FCGID?
    E-Accelerator makes Skripts faster and reduces memory and server load.
    BUT how does E-Accelerator work together with MPM Worker or DiskCache?
    Any Idea? If I use E-Accelerator, so i shouldn't use Disk cache?

    And what is better: E-Accelerator with FCGID or DISK Cache with SUPHP?
    I Couldn find an answer to this question...
    Okay, I won't install E-Accelerator because I use SUPHP.

    + IonCube Loader for PHP

    + Mod Bandwidth I want to limit Bandwith to domains. right?

    + Mod Security for security reasons

    + Suhosin for PHP for security reasons

    + Bcmath
    + Bz2

    - CGI
    don't need it anymore because suhosin. right?

    + Calendar
    + Curl
    + CurlSSL
    + FTP


    - Fastcgi dont need because of suhosin

    +GD
    +Iconv
    +Imap
    +Magic Quotes
    +Mbregex
    +Mbstring
    +Mcrypt
    +Mhash

    +Mysql


    +Mysql of the system

    + Openssl
    +POSIX
    +Path Info Check
    +Pear
    +Sockets
    +TTF
    +Zlib



    We are under step 3, dont forget ;)

    At the bottom under preferences i checked:
    *Archive Backup (this session only)
    *Report Errors to cPanel


    Okay, and now I click to

    Save only (Do not build)

    Advice me Please whether my options are good for a Webserver up to 50-100 customers.

    Thank you for reading this posting.
     
  2. Kevinfrom

    Kevinfrom Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Yes, those are all good frequently used options and would make for a well rounded setup.

    The only option you may not need is MPM_Worker, this is only recommended if you have Multiple CPU's or threading. The default MPM_Prefork is usually sufficient on most systems.
     
  3. forquato

    forquato Active Member

    Joined:
    Aug 27, 2009
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I'm confused about all the options. I just have a problem to understand this all.

    Some Questions:

    Mod SuPHP and ModFCGID:
    - i chose mod suphp or modfcgid but not both?

    What ist ModFcgid and fastcgi?

    Mod FCGID is phpsuexec?

    What does PHPsuexec do and
    what does modfcgid do?

    Thank you.
     
  4. forquato

    forquato Active Member

    Joined:
    Aug 27, 2009
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Other question:
    Wich MPM does need more memory? I think MPM_prefork, right?

    Someone tested both MPM-Versins on his Server with "one" CPU and got better
    benchmark-results with mpmworker:

    Apache prefork vs. worker | camelrichard.org
     
Loading...

Share This Page