To install Magento 2.x extension via cPanel, follow the steps mentioned below:

Uploading The Extension

  1. Log into cPanel

Log into cPanel

  1. Navigate to File Manager

goto Filemanager

  1. Go to Magento Root Directory, Upload Zip file on Magento Root Directory and Extract

upload and extract

Installing The Extension

After, uploading is done, follow these steps:

  1. Run php bin/magento module:enable Excellence_ModuleName Ex: php bin/magento module:enable Excellence_Base
  2. Run php bin/magento setup:upgrade in ssh in folder root of magento 2
  3. Run php bin/magento cache:clean in ssh in folder root of magento 2
  4. Fix the permission of var/ folder (Run chmod -R 777 var/ in ssh in folder root of magento 2)
  5. Now installation is complete.