Mod_lsapi & amp; Multi-PHP против PHP Selector?
Форум
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Martin Smallridge
  2. Friday, 23 February 2018
  3.  Subscribe via email
I've been looking at mod_lsapi on an CloudLinux CentOS 6 server with EA4 recently converted across but I'm a little on the confused side regarding installation.

1. Cagefs pushes you gently towards PHP selector instead of Multi-PHP so I'd love to understand why Multi-PHP is the UI needed to make use of LSAPI?

2. Assuming I'm using Cagefs, is there any real benefit to using PHP Selector over Multi-PHP bearing in mind that it's a dedicated server with just one admin so Cpanel interaction isn't relevant/required?

Just as add... The documentation on Cloudlinux is in some cases out of date, contradictory and a mite confusing... Might be worth someone deleting the old stuff.


If anyone can shed any light on 1 and help with 2 that'd be much appreciated.
Rate this post:
  1. 24.02.2018 09:02:38
  2. # 1
Posts: 187
Joined: 31.01.2017
0
Votes
Undo
CageFS and PHP Selector are installed with mod_lsapi only as dependency. There's no need to either activate or use them - you can continue using MultiPHP. PHP Selector (actually Alt-PHP) is only needed if your setup requires older PHP binaries (not provided by cPanel)
  1. 12.08.2018 11:08:32
  2. # 2
Baby Accepted Answer
Posts: 23
Joined: 04.10.2012
0
Votes
Undo
We have a couple of related questions:

1. There has been another reason to use alt-php rather than ea-php which is that all alt-php versions are supposed to be hardened, but none of the cPanel’s ea-php versions are hardened. Is this still correct at this time?

2. CloudLinux has its own repo for EA4. Does this mean the ea-php versions from CloudLinux’s EA4 repo are actually also hardened by CloudLinux, with the exact same security patches as the alt-php versions?

3. If PHP Selector is disabled in WHM, and we wish to offer only PHP 5.3 - 7.2, are there any reasons for us to make alt-php versions available via MultiPHP?
  1. 13.08.2018 14:08:34
  2. # 3
Posts: 187
Joined: 31.01.2017
0
Votes
Undo
1) ea-php packages installed from CloudLinux repo are hardened the same way as alt-php packages
2) yes, see (1)
3) actually not, ea-php binaries cover all the versions from 5.3 - 7.2 range
  1. 08.12.2018 18:12:30
  2. # 4
Ariel S. Accepted Answer
Posts: 0
Joined: 21.08.2019
0
Votes
Undo
Hi, one more question on this topic.

I always liked the way PHP selector have to allow select the modules you need for your php.
But it seems that I cant find this on the MultiPHP you're saying is the recommended one?

So... what do people do? ... just install all and every module for all and every php version ? ... dont this make the php heavier? or modules are only loaded when required/used ?
(you know what I mean... in some time, having a full loaded php was heavy to the server or ram... now, are they dinamically loaded anyway so it just the same?)

Thanks
  1. 10.12.2018 16:12:02
  2. # 5
  • 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)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.