Rebuild Cache

From Softaculous Wiki
Jump to: navigation, search

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 :
Root> /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --rebuild_cache


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

Root> /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, ISPManager, ISPConfig SSH to your server as root and enter following commands :

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


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

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


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

Root> /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 :
Root> /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 :
Root> /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+