{"id":2304,"date":"2019-01-02T11:17:36","date_gmt":"2019-01-02T11:17:36","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/?post_type=docs&#038;p=2304"},"modified":"2022-11-24T06:38:29","modified_gmt":"2022-11-24T06:38:29","slug":"rebuild-cache","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/admin\/softaculous-management\/rebuild-cache\/","title":{"rendered":"Rebuild Cache"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Rebuild cache from Command Line<\/h3>\n\n\n\n<p>You can rebuild the cache from the command line.&nbsp;<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Execute the following command to execute rebuild cache utility:<br><\/li>\n<\/ul>\n\n\n\n<p>For&nbsp;<strong>cPanel<\/strong>&nbsp;SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/cpanel\/3rdparty\/bin\/php \/usr\/local\/cpanel\/whostmgr\/docroot\/cgi\/softaculous\/cli.php --rebuild_cache<\/pre>\n\n\n\n<p>For\u00a0<strong>Webuzo<\/strong>\u00a0SSH to your server as root and enter following commands\u00a0:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/emps\/bin\/php \/usr\/local\/softaculous\/cli.php --rebuild_cache<\/pre>\n\n\n\n<p><br>For&nbsp;<strong>Direct Admin<\/strong>&nbsp;SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/bin\/php -d open_basedir=\"\" -d safe_mode=0 -d disable_functions=\"\" \/usr\/local\/directadmin\/plugins\/softaculous\/cli.php --rebuild_cache <\/pre>\n\n\n\n<p><br>For&nbsp;<strong>Plesk <\/strong>SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/softaculous\/bin\/php \/usr\/local\/softaculous\/cli.php --rebuild_cache<\/pre>\n\n\n\n<p><br>For&nbsp;<strong>ISPManager, ISPConfig<\/strong>&nbsp;SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">php \/usr\/local\/softaculous\/cli.php --rebuild_cache<\/pre>\n\n\n\n<p><br>For&nbsp;<strong>InterWorx<\/strong>&nbsp;SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/home\/interworx\/bin\/php \/usr\/local\/softaculous\/cli.php --rebuild_cache<\/pre>\n\n\n\n<p><br>For&nbsp;<strong>H-Sphere<\/strong>&nbsp;SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/hsphere\/shared\/php5\/bin\/php-cli -d open_basedir=\"\" -d safe_mode=0 -d disable_functions=\"\" \/usr\/local\/softaculous\/cli.php --rebuild_cache<br><br><\/pre>\n\n\n\n<p>For&nbsp;<strong>CentOS Web Panel<\/strong>&nbsp;SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/cwp\/php\/bin\/php \/usr\/local\/softaculous\/cli.php --rebuild_cache<br><br><\/pre>\n\n\n\n<p>For&nbsp;<strong>Softaculous Remote and Softaculous Enterprise<\/strong>&nbsp;SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/emps\/bin\/php \/usr\/local\/softaculous\/cli.php --rebuild_cache<br><br><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Thats it. This will rebuild the cache.js on your server.<\/li>\n<\/ul>\n\n\n\n<p><strong>Note<\/strong>&nbsp;: This utility will work only for Softaculous 4.5.4+<\/p>\n","protected":false},"featured_media":0,"parent":1671,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-2304","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/comments?post=2304"}],"version-history":[{"count":6,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2304\/revisions"}],"predecessor-version":[{"id":5338,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2304\/revisions\/5338"}],"up":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/1671"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=2304"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=2304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}