Hello all, I'm installing cPanel (in a test environment) for the first time and was hoping to get some advice on how best to provision/configure Easy Apache 4.
I've been using NGINX for many years and although not new to server management at all, cPanel has a steep learning curve! The server I'm working on at the moment (and hope to take into production) has 2 CPU cores and 4GB of RAM.
My end goal is to create a shared hosting environment that is both flexible and secure to host your typical blogs, CMS's and e-commerce sites. This server won't be crammed full of accounts so I would like the sites to perform well.
I fully understand that not all environments are the same but I'd appreciate your feedback and any insights you might have on the below:
Apache MPM:
I've opted to go down the PHP-FPM route.
Would anyone recommend OpCache?
Would anyone recommend against MPM ITK? It's my understanding that this creates a more secure environment by running processes under a user's own access rights.
I've left my Apache global config fairly default.
Thanks in advance!
I've been using NGINX for many years and although not new to server management at all, cPanel has a steep learning curve! The server I'm working on at the moment (and hope to take into production) has 2 CPU cores and 4GB of RAM.
My end goal is to create a shared hosting environment that is both flexible and secure to host your typical blogs, CMS's and e-commerce sites. This server won't be crammed full of accounts so I would like the sites to perform well.
I fully understand that not all environments are the same but I'd appreciate your feedback and any insights you might have on the below:
Apache MPM:
- mod_mpm_itk - enabled
- mod_mpm_prefork - enabled
- PHP 5.6
- PHP 7.0
- PHP 7.1
- ioncube10 for all 3 PHP versions above
- PHP FPM for all 3 PHP versions above
I've opted to go down the PHP-FPM route.
Would anyone recommend OpCache?
Would anyone recommend against MPM ITK? It's my understanding that this creates a more secure environment by running processes under a user's own access rights.
I've left my Apache global config fairly default.
Thanks in advance!