Need help finding something? Start Here

How to install Drupal console in cPanel with CageFS and CloudLinux

RedyHost customers who run Drupal websites in a cPanel hosting, ask us about getting Drupal console available in cPanel. Of course RedyHost cPanel hosting comes with Drupal console preinstalled and available inside the GageFS.

This page describes how to install Drupal console in a cPanel/WHM server with CloudLinux.

This page should be used by system admins who want to make Drupal console available to their customers in cPanel with CloudLinux/CageFS installed.

First, SSH to the cPanel/WHM server as the root user.

Next, run these commands to install drush:

curl -L -o drupal.phar
chmod +x 
mv drupal.phar /usr/local/bin/drupal

Now, as you have installed drush, let's add it to the CageFS so that users could access it

vim /etc/cagefs/conf.d/drupal.cfg

And add this content:

comment=Allow Drupal console to work on the server



Next, update CageFS

cagefsctl --force-update


Test to see if it works, become a CageFS user.

su cagefsuser
cd ~

drupal init --override
drupal check


To benefit from (benchmarked) fast cPanel hosting, including free as-is cPanel account migration,

sign up to our cPanel service now

Was this helpful?: 
No votes yet