{"id":2489,"date":"2019-01-04T09:53:32","date_gmt":"2019-01-04T09:53:32","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/?post_type=docs&#038;p=2489"},"modified":"2021-10-30T10:29:51","modified_gmt":"2021-10-30T10:29:51","slug":"how-to-refresh-license","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/admin\/licensing\/how-to-refresh-license\/","title":{"rendered":"How to Refresh License"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Refresh License via GUI<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Softaculous Admin Panel and click on &#8220;Refresh License&#8221; as shown in the below screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/how_to_refresh_license_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"351\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/how_to_refresh_license_1.png\" alt=\"\" class=\"wp-image-5098\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/how_to_refresh_license_1.png 717w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/how_to_refresh_license_1-300x147.png 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Refresh License via CLI<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can also refresh the license by executing the following command while logged in as root.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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 --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><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 --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><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 -d open_basedir=\"\" -d safe_mode=0 -d disable_functions=\"\" \/usr\/local\/softaculous\/cli.php --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br>For&nbsp;<strong>ISPManager, ISPConfig<\/strong> SSH to your server as root and enter following commands&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">php -d open_basedir=\"\" -d safe_mode=0 -d disable_functions=\"\" \/usr\/local\/softaculous\/cli.php --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><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 --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><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 --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">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 --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For&nbsp;<strong>VestaCP<\/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\/vesta\/php\/bin\/php \/usr\/local\/vesta\/softaculous\/cli.php --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">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 --refresh-license<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This will update the license from Softaculous licensing servers and will also display the updated license details.<br><\/p>\n","protected":false},"featured_media":0,"parent":1672,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-2489","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2489","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=2489"}],"version-history":[{"count":10,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2489\/revisions"}],"predecessor-version":[{"id":5099,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2489\/revisions\/5099"}],"up":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/1672"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=2489"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=2489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}