cPanel fresh install - lsapi vs ruid2, EA-php vs ALT-php
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Razvan Rosca
  2. 23.09.2018
  3.  Subscribe via email

I'm setting up a fresh cPanel server with CloudLinux. Please note that I only need PHP 5.6 and PHP 7+, so no legacy PHP versions are required.

Here are some preliminary questions:

1. In a CageFS environment, how does mod_lsapi compare with mod_ruid2, performace/speed wise? I'm tending to stick with "default cPanel stuff", but if mod_lsapi brings tangible results I'll gladly use it.

2. If I want to use mod_lsapi, do I need to install and use alt-PHP?

3. I've installed alt-PHP and now I have a ton of duplicate PHP versions. Supposing that I want to stick only with ALT-php, how can I (should I?) remove EA-php?

Long story short: I want to use the benefits of CloudLinux (mostly CageFS and hardware limits) but I really don't know if for "modern" cPanel setups I should go with cPanel default stuff (ruid + fpm) or add mod_lsapi & alt-php as well.

Rate this post:
  1. 24.09.2018 10:09:36
  2. # 1
Igor Ghertesco Accepted Answer
Posts: 153
Joined: 07.08.2015

1. We haven't performed any test, but mod_lsapi is much more secure than mod_ruid2, and it supports all CloudLinux features. Please refer to this doc section:

2. No, mod_lsapi works with EA-PHP as well.

3. PHP Selector integration with MultiPHP Manager is fully described here:

You can disable MultiPHP Manager in "features" menu, and leave only PHP Selector enabled, but we do not have any strict recommendation, as CageFS and mod_lsapi are working with EA-PHP as well.
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
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)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.