Rebuild Cache

Rebuild cache from Command Line

You can rebuild the cache from the command line. 

  • Execute the following command to execute rebuild cache utility:

For cPanel SSH to your server as root and enter following commands :

/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --rebuild_cache

For Webuzo SSH to your server as root and enter following commands :

/usr/local/emps/bin/php /usr/local/softaculous/cli.php --rebuild_cache


For Direct Admin SSH to your server as root and enter following commands :

/usr/local/bin/php -d open_basedir="" -d safe_mode=0 -d disable_functions="" /usr/local/directadmin/plugins/softaculous/cli.php --rebuild_cache 


For Plesk SSH to your server as root and enter following commands :

/usr/local/softaculous/bin/php /usr/local/softaculous/cli.php --rebuild_cache


For ISPManager, ISPConfig SSH to your server as root and enter following commands :

php /usr/local/softaculous/cli.php --rebuild_cache


For InterWorx SSH to your server as root and enter following commands :

/home/interworx/bin/php /usr/local/softaculous/cli.php --rebuild_cache


For H-Sphere SSH to your server as root and enter following commands :

/hsphere/shared/php5/bin/php-cli -d open_basedir="" -d safe_mode=0 -d disable_functions="" /usr/local/softaculous/cli.php --rebuild_cache

For CentOS Web Panel SSH to your server as root and enter following commands :

/usr/local/cwp/php/bin/php /usr/local/softaculous/cli.php --rebuild_cache

For Softaculous Remote and Softaculous Enterprise SSH to your server as root and enter following commands :

/usr/local/emps/bin/php /usr/local/softaculous/cli.php --rebuild_cache

  • Thats it. This will rebuild the cache.js on your server.

Note : This utility will work only for Softaculous 4.5.4+

Was this helpful to you?