Skip to main content

Which profile to use in EasyApache 4?

Comments

14 comments

  • cPanelMichael
    Which is better and faster for websites with higher traffic?

    Hello, This depends on the amount of traffic your server receives and the type of content your websites are serving. Here's a recent thread you may find helpful: Why does MPM prefork faster than any other MPM? Thank you.
    0
  • vlee
    I am going to test out on 1 server for few days the cPanel Default + MPM ITK profile. Right away I notice heck a lot less requests is WHM at Home "Server Status "Apache Status after switching to this profile. But there is information for those to beware of
    0
  • vlee
    Ok is it just me or is there something wrong here. I went back to All PHP Options + ZendGuard Profile and now when I try to install certain software like FengOffice after the install it comes up with 500 Page Error. So I tested it on a another server and the same thing happens. Then I try installing other software and the same thing. But wordpress and Joomla installs work. So I am stumped why some software works fine before and now does not work at all and brings up a 500 Page Error. Does anyone have any ideas?
    0
  • cPanelMichael
    So I am stumped why some software works fine before and now does not work at all and brings up a 500 Page Error.

    Hello, What's output to /usr/local/apache/logs/error_log when you encounter the 500 error code in your browser? Thank you.
    0
  • vlee
    Nothing inside of /usr/local/apache/logs/error_log when you encounter the 500 error code in my browser. But in the local error_log there is this [11-Apr-2017 20:54:11 UTC] PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 5120 bytes) in /home/user/public_html/init.php on line 41
    0
  • cPanelMichael
    [11-Apr-2017 20:54:11 UTC] PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 5120 bytes) in /home/user/public_html/init.php on line 41

    Have you tried increasing the PHP memory limit for the account using cPanel's MultiPHP INI Editor option? It's documented at: MultiPHP INI Editor for cPanel - Documentation - cPanel Documentation Thank you.
    0
  • vlee
    It is set 256M for the longest time now.
    0
  • vlee
    I just increased it to 512M and it works now
    0
  • vlee
    With that issue resolved now. I do not have to use SuPHP due to the SuPHP can slow down things because it lacks performance. Also with PHP-FPM on or off. Even though I heard good things about using PHP-FPM. With EA 3 I used my own customized selection. EA 4 is little different and so many options. My only question is which profile should I use for Performance and Security? I would like hear the thoughts on this from other Root Administrators and of course from the Staff of cPanel.
    0
  • cPanelMichael
    My only question is which profile should I use for Performance and Security?

    Hello, I'll leave this thread open for feedback from other users, but I did want to note that as a general rule, you should customize whichever profile you decide to go with and then only enable an option if you need it. For each option that you select, make certain that you understand the functionality of the option and any security vulnerabilities that may come with it. Also, "WHM >> Security Advisor" is useful for finding security-related settings you may have missed. Thank you.
    0
  • vlee
    Quick question on the cPanel Default Profile. Can you use Zend OPcache option in side the customized cPanel Default Profile? Or should Zend OPcache left out? Would Zend OPcache option in side the customized cPanel Default Profile enabled improve speed and performance or not?
    0
  • cPanelMichael
    Hello, You can customize a profile to include an additional option such as Zend OpCache, yes. The profile will alert you of conflicts (if any) that exist with packages that are already enabled in the profile. As far as performance, you can search the forums for the term "opcache" to see reports from other users who have enabled this feature. Thank you.
    0
  • Pankaj K
    I have personally used cPanel default profile + opcache + PHP FPM and it yields great results.
    0
  • vlee
    I am just throwing this out to get suggestions on the best configuration in EasyApache 4. Currently I have 4 Core CPU and 4 GB Ram. In the next 2 to 8 weeks I will be upgrading memory 8 GB on each of my web servers. All servers are running on CentOS 7.x now. I also only use PHP 5.6 and PHP 7.x for all servers. I am looking for the follow below High Performance Security Memory and CPU load stability Flexibility for website code and customization When I had EasyApache 3 I had no issues with memory and CPU loads but not great performance due to SuPHP at the time. EasyApache 4 is somewhat different and I just want to get feedback from cPanel and everyone else on which profiles below would best fit the needs. SuPHP seems to have a few restrictions on users can do for customizing say like htacesss and other things for their websites. All PHP Options + OpCache All PHP Options + ZendGuard cPanel Default cPanel Default + MPM ITK
    0

Please sign in to leave a comment.