Skip to main content

I need your advice to set up my server for the best performance

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! There aren't going to be good answers to these questions, as each server is different and responds differently to the same configurations. We have come up with the default configuration on the server after years of trial and error and testing various different systems, and for many people that works great. I would recommend only adjusting that configuration if you're noticing problems. I would recommend installing Nginx (NGINX with Reverse Proxy | cPanel & WHM Documentation) as that consistently speeds up servers it is tested on, and doesn't require any additional Apache configuration work. Other than that, it's really up to what your system needs and if you notice issues.
    0
  • Anoop AS
    I have installed cpanel Ngnix, so I don't need to use or enable PHP-FPM, right?
    0
  • cPRex Jurassic Moderator
    The two pieces of software are independent, so there is no reason you couldn't run both.
    0
  • Anoop AS
    Thank you, I will disable PHP-FPM. What about "MultiPHP INI Editor" settings and apache configuration -> Global Configuration settings ?
    0
  • cPRex Jurassic Moderator
    Those settings can be configured purely based on the needs of your site. I'd go with the defaults if things are working well.
    0
  • Anoop AS
    Thank you. i am getting below warning in my WHM, i am using nginx, how i can fix it? Apache vhosts are not segmented or chroot()ed. Enable "mod_ruid2" in the "EasyApache 4" area, enable "Jail Apache" in the "Tweak Settings" area, and change users to jailshell in the "Manage Shell Access" area. Consider a more robust solution by using "CageFS on CloudLinux". Note that this may break the ability to access mailman via Apache.
    0
  • retechpro
    It"s recommendation from cpanel. You can ignore it without issue. If you want to fix it then follow it. first enable mod_ruid2 module from EasyApache. Second Enable Jail Apache in the Tweak Settings. You can enable disable shell access for the users. last recommendation is to use Cloudlinux. Cloudlinux offer cageFS who protect the cpanel from other cpanel. No other user can access the other acc. It is best for shared Hosting. If you running for own then it is not necessary to use for single acc.
    0

Please sign in to leave a comment.