• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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