Fresh cPanel install - some recommendations needed about CloudLinux, SQL, PHP etc
Forum
  1. Forums
  2. General
  3. Programming for CloudLinux
  1. vishal pujari
  2. Saturday, 21 March 2020
  3.  Subscribe via email
I'm setting up a new cPanel server and here are some questions:

MySQL 5.7 or MariaDB 10.2?

Use the CloudLinux Governor or not?

EA-php or ALT-php?

mod_lsapi or mod_ruid2?

Is mod_lsapi working with EA-php, or do I need to completely drop EA-php in favour of ALT-php (I don't want two systems that do the exact same thing)?
Is mod_lsapi working/compatible with php-fpm?

If not CloudLinux, how can you enforce userland CPU/RAM limits and be confident that the user doesn't escapes his homedir?

The biggest reason for looking into CloudLinux because of their strong CageFS, userland hardware limits and better symlink protection.
Rate this post:
  1. 21.03.2020 15:03:00
  2. # 1
Sergey Khristich Accepted Answer
Posts: 401
Joined: 20.05.2019
0
Votes
Undo
Hello Vishal Pujari,
Thank you for reaching out! The answers to your questions are below.

MySQL 5.7 or MariaDB 10.2?

No difference, you can use any he is more experienced with
Use the CloudLinux Governor or not?

You may install Governor in order to limit his users' MySQL activity, it will not significantly affect the server's overall performance but will provide a bit more of resource usage control
EA-php or ALT-php?
mod_lsapi or mod_ruid2?

Mod RUID is not compatible with CageFS, so if you want to use it, he should switch to suphp or lsapi
https://docs.cloudlinux.com/limits/#compatibility-matrix
Is mod_lsapi working with EA-PHP, or do I need to completely drop EA-PHP in favour of ALT-PHP (I don't want two systems that do the exact same thing)?
Is mod_lsapi working/compatible with PHP-fpm?

It is working with EA-PHP and its fpm versions
If not CloudLinux, how can you enforce userland CPU/RAM limits and be confident that the user doesn't escapes his homedir?

All limits work on PHP-fpm

Please let us know if you have any questions. Thanks in advance!
Marketing Manager
  1. 23.03.2020 04:03:49
  2. # 2
vishal pujari Accepted Answer
Posts: 1
Joined: 21.03.2020
0
Votes
Undo
Thank you so much
  1. 23.03.2020 18:03:29
  2. # 3
Sergey Khristich Accepted Answer
Posts: 401
Joined: 20.05.2019
0
Votes
Undo
If you have any other questions, feel free to ask here.
Thank you for contacting us.
Marketing Manager
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.