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 - Best Configurations

Discussion in 'EasyApache' started by britsenigma, Jan 3, 2012.

  1. britsenigma

    britsenigma Well-Known Member

    Joined:
    Dec 14, 2008
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Anyone fancy sharing theirs, and describe your setup?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Is there a specific type of configuration you are seeking? For example, are you looking for the most optimized configuration, or one that will provide the most features to your users? Typically, you would select the options based on the requirements of your individual server.

    Thank you.
     
  3. britsenigma

    britsenigma Well-Known Member

    Joined:
    Dec 14, 2008
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    What do I want?

    More Performance from PHP with optcode caching that actually works, Eaccelerator doesn't seem to cache files according to phpinfo().

    But it is loaded:

    eAccelerator support enabled
    Version 0.9.6.1
    Caching Enabled true
    Optimizer Enabled true
    Check mtime Enabled true
    Memory Size 16,777,144 Bytes
    Memory Available 16,772,976 Bytes
    Memory Allocated 4,168 Bytes
    Cached Scripts 0
    Removed Scripts 0

    Had the same problem, even if I install the modules from source. And from my researching it seems that it's due to the nature of sharing a single memory fragement to multiple user owned processes, and it's not supported?

    XCache doesn't work either by selecting it from EasyApache. Maybe I've choosen some incompatible modules, so I was hoping someone could provide me with their setup that actually works on a centos 5 box.

    FastCGI seems quicker, but the memory usage is rediculous.

    I just want to know, which is the best all round setup for a shared php hosting environement to get faster performance than the box standard suphp setup, but I'd also like the processes to be run as the user. Which you get for php but apache is runs as nobody,which is why i liked mpm-itk, but it wasn't stable.
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You cannot use OPCode caching with suPHP, so EAccelerator, xCache and APC won't function under suPHP. Since you mention suPHP at one point in your reply, are you trying to use it with OPCode caching?

    Of note, it will be enabled and show as enabled in phpinfo under suPHP. It simply won't work even though enabled due to the way suPHP handles processes.

    If you want to use something supported, I'd instead suggest mod_ruid2 under DSO with xCache or EAccelerator instead.
     
Loading...

Share This Page