Cpanel CloudLinux set all users to use alt-php

If your cpanel server have cloudlinux + PHP Selector installed, you need to set all site to use inherit PHP before you can use PHP Selector. This can be done in MultiPHP Manager or using command line

Tis command will set all web sites to use inherit PHP. To set all site to use […]

Read More…

CageFS command not working for user

I have flvtool2 installed on the server. Path to binary file location was added in file /etc/cagefs/conf.d/vshare.cfg

The binary program works properly when running as root, but it fail when switching to a user that use CageFS.

The problem is fixed by editing file /etc/cagefs/cagefs.mp

Add following lines

Now remount cagefs […]

Read More…

CloudLinux PHP versions missing in PHP Selector

WHM EasyApache 4 PHP missing

On a Cpanel server running CloudLinux, PHP Selector did not show all PHP versions. I reinstalled EasyApache profile “CloudLinux + All PHP Options + OpCache + mod_lsapi”. Even after installing EasyApache profile with all PHP versions, PHP 7.2 and PHP 7.4 was missing on this server. To fix, the problem, i run

[…]

Read More…

CloudLinux PHP Selector on Cpanel Server

CloudLinux come with PHP Selector, this allow you to select differnt PHP versions. When you enable PHP selector, you should do the following.

Related Posts Enable CloudLinux PHP lsapi CloudLinux […]

Read More…

Uninstall CloudLinux imunify360

Recently all CloudLinux installed imunify360 on all my Cpanel Servers. This is a paid product, so free version is not much useful as you need to scan manually. I use maldet on all my servers and happy with it, so i removed imunify360 from my servers. To uninstall imunify360, run

Disable the repo with […]

Read More…

cagefs mount points exists

On WHM > CloudLinux LVE Manager, i get following warning Check cagefs mount points exists There are missing mount points: [‘/usr/local/cpanel/whostmgr/docroot/cgi/softaculous’] This error is due to softaculous was removed from server, but was not removed from cagefs mount points file. To fix this error, edit file

Remove the line

[…]

Read More…

Enable CloudLinux PHP lsapi

CloudLinux lasapi php

CloudLinux provides high performance PHP module lsapi. It is a replacement for suphp available on cpanel servers. lsapi module is a based on LiteSpeed Technologies API for PHP. To enable lsapi in CloudLinux Cpanel Server, go to

Provision profile

Click “Provision” and wait until the software is updated. Now you need to set […]

Read More…

selectorctl

selectorctl list all installed PHP (alt-php) versions in CloudLinux Server.

CloudLinux […]

Read More…