{"id":3009,"date":"2019-02-01T10:37:29","date_gmt":"2019-02-01T10:37:29","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/?post_type=docs&#038;p=3009"},"modified":"2019-02-01T10:38:47","modified_gmt":"2019-02-01T10:38:47","slug":"blacklist-scripts","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/admin\/softaculous-management\/blacklist-scripts\/","title":{"rendered":"Blacklist Scripts"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">How to Blacklist Scripts<\/h3>\n\n\n\n<p><strong>Softaculous allows you to create a list of scripts that you want to disable from your server.\u00a0<\/strong><br><\/p>\n\n\n\n<p>In order to disable scripts from your server please add the script ids of scripts you want to disable in a serialized array format to the following file&nbsp;:&nbsp;<br><\/p>\n\n\n\n<p>For&nbsp;<strong>cPanel<\/strong>&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/cpanel\/whostmgr\/docroot\/cgi\/softaculous\/conf\/blacklist.ser\n<\/pre>\n\n\n\n<p>For&nbsp;<strong>Direct Admin<\/strong>&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/directadmin\/plugins\/softaculous\/conf\/blacklist.ser\n<\/pre>\n\n\n\n<p>For&nbsp;<strong>Plesk, ISPManager, ISPConfig, InterWorx, H-Sphere<\/strong>&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/usr\/local\/softaculous\/conf\/blacklist.ser\n<\/pre>\n\n\n\n<p class=\"alert alert-info\"><strong>Note<\/strong>&nbsp;: If the above file does not exist please create the file.&nbsp;<br>You can get the Script IDs here&nbsp;:&nbsp;<br><a href=\"http:\/\/www.softaculous.com\/scripts.php\">http:\/\/www.softaculous.com\/scripts.php<\/a>&nbsp;<br><\/p>\n\n\n\n<p>For example if you want to disable WordPress from your server you need to put the following data in&nbsp;<strong>blacklist.ser<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">a:1:{i:0;i:26;}\n<\/pre>\n\n\n\n<p>You can use the following guide on how to Enable\/Disable scripts from GUI\u00a0:\u00a0<br><a href=\"http:\/\/www.softaculous.com\/docs\/admin\/enable-disable-scripts\/\">Enable\/Disable_Scripts<\/a><\/p>\n","protected":false},"featured_media":0,"parent":1671,"menu_order":18,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-3009","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/3009","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=3009"}],"version-history":[{"count":2,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/3009\/revisions"}],"predecessor-version":[{"id":3012,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/3009\/revisions\/3012"}],"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=3009"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=3009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}