• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

CageFS, CloudLinux PHP selector and Plesk 12.5 PHP selector

xyptilon

Basic Pleskian
Using CageFS, CentOS 7, CloudLinux 7 and Plesk 12.5. Both PHP selectors are confusing. Which takes precedence and how can I disable either of them so that end-users can only change relevant settings?

Sincerely,
- Wouter van der Schagt
 
I prefer the Plesk PHP versions. To do this just don't install the alt-php's via CloudLinux. Make the CloudLinux PHP selector hidden via "Tools & Settings" > "Custom Buttons", then just install Plesk PHP versions :)
 
I prefer the Plesk PHP versions. To do this just don't install the alt-php's via CloudLinux. Make the CloudLinux PHP selector hidden via "Tools & Settings" > "Custom Buttons", then just install Plesk PHP versions :)

Chris,

Finally made the jump to 12.5 :)

How do you not "install the alt-php's via CloudLinux" ? What if they are already installed?

I still want the protection of CL, but do not care for their PHP selector.
 
Chris,

Finally made the jump to 12.5 :)

How do you not "install the alt-php's via CloudLinux" ? What if they are already installed?

I still want the protection of CL, but do not care for their PHP selector.

Yep same here :)

You can just not install the alt php's but if they are already installed then run the following:

Code:
yum groupremove alt-php

Hide the PHP selector menu item from the custom buttons section and then just install your required PHP versions via the Plesk installer.
 
Oh ok that's strange. I can certainly select Plesk PHP versions with CageFS active.

Are you using CloudLinux 7.1?

I remember having to add the PHP session directory to the accessible directory list under CageFS though.
 
On the CL Php selector, what do you have selected?

UPDATE:

Just tested and if I set the CL Selector to native, then The Plesk selector is honored.
So you can have all the alt-* versions installed, but select native for all accounts in CageFS and the Plesk selector is what gets used.

And like Chris said, hide the custom CL PHP button so users cannot change this.
 
The only PHP version available to the CL selector is the native php 5.4.

..but I have hidden the selector tool as it is not required.

However I have 5.4, 5.5, 5.6 & 7 available to clients via the Plesk PHP settings.

To allow CageFS users access to the php session folder, see the below recommendation from CloudLinux directly:

"add line @/var/lib/php/session,777 to /etc/cagefs/cagefs.mp and run $ cagefsctl --remount-all"
 
...

To allow CageFS users access to the php session folder, see the below recommendation from CloudLinux directly:

"add line @/var/lib/php/session,777 to /etc/cagefs/cagefs.mp and run $ cagefsctl --remount-all"

Why would I care about giving CageFS users access to session folder?
 
Back
Top