Overview
Softaculous allows you to Enable or Disable Softaculous Scripts from command line.
Note : This has been added in Softaculous 4.7.9
Enable Scripts
- Use the following command to Enable scripts:
php /path/to/softaculous/cli.php --enable_script --sid=26,67
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --enable_script --sid=26,67
- That’s it. Scripts will now be enabled.
Parameters
- In the above command the first parameter should be –enable_script as this parameter will initiate the enable script function.
- –sid=26,67 – This is the script id. You can enable a script or a number of scripts using comma separated list of script ids. 26 is for WordPress, 67 for Magento, etc. You can find the script id in /path/to/softaculous/enduser/scripts.ser
Enable All Scripts
- Use the following command to Enable All scripts:
php /path/to/softaculous/cli.php --enable_script --all
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --enable_script --all
- That’s it. Scripts will now be enabled.
Parameters
- In the above command the first parameter should be –enable_script as this parameter will initiate the enable script function.
- –all – This parameter will enable all the scripts
Disable Scripts
- Use the following command to Disable scripts:
php /path/to/softaculous/cli.php --disable_script --sid=26,67
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --disable_script --sid=26,67
- That’s it. Scripts will now be disabled.
Parameters
- In the above command the first parameter should be –disable_script as this parameter will initiate the disable script function.
- –sid=26,67 – This is the script id. You can disable a script or a number of scripts using comma separated list of script id. 26 is for WordPress, 67 for Magento, etc. You can find the script id in /path/to/softaculous/enduser/scripts.ser