{"id":1656,"date":"2022-08-28T10:46:03","date_gmt":"2022-08-28T10:46:03","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=1656"},"modified":"2026-06-11T03:22:04","modified_gmt":"2026-06-11T03:22:04","slug":"how-to-install-or-uninstall-the-module","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/","title":{"rendered":"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4?"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Introduction<\/h3>\n\n\n\n<p>The <strong>mod_cpanel<\/strong> Apache module replaces the <strong>Optimize .htaccess (AllowOverride)<\/strong> feature that was previously available in the Global Configuration section of WHM&#8217;s Apache Configuration interface. This module allows cPanel &amp; WHM to manage specific Apache configurations more efficiently. Administrators can install or remove the module through the EasyApache 4 interface or by using command-line tools.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>Before proceeding, ensure that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-black-color has-text-color has-link-color wp-elements-50781fc15c137bf3e6aedc8036946ede\">You have <strong>root access<\/strong> to the server.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-ff95820c1eb0e2c603d92f61c7ebe11d\">You have access to the <strong>WHM<\/strong> interface.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-624ae106b231e450ab80ab8a332e5869\">The server is running <strong>EasyApache 4<\/strong>.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-a1dccbcbeaea7055d0950c257e2dc397\">You have SSH access if you plan to use the command-line method.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-eaf819511d5a90459f7dc4776b930af3\">It is recommended to take a backup of Apache configurations before making changes.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Procedure<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Install or Uninstall via WHM<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-black-color has-text-color has-link-color wp-elements-0e5e13cd8d65d686aab135731b31d85c\">Log in to <strong>WHM<\/strong> as the root user.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-21ef7299512d41199efe9c5c1a637a7e\">Navigate to:<br><strong>WHM \u00bb Home \u00bb Software \u00bb EasyApache 4<\/strong><\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-c4efad131365872da71d02055f3306ce\">Search for <strong>mod_cpanel<\/strong> in the available Apache modules.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-5dae78563ff509b27ea3acec23e8a4cb\">To install the module:\n<ul class=\"wp-block-list\">\n<li class=\"has-black-color has-text-color has-link-color wp-elements-478a58eecd81dc16f8e26605cd3b62c9\">Enable <strong>mod_cpanel<\/strong>.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-4f1b376c8d64409a9c2b5699261732ac\">Click <strong>Review<\/strong> and then <strong>Provision<\/strong>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-b93403f1f94af34fa09dcbaf9c8b2276\">To uninstall the module:\n<ul class=\"wp-block-list\">\n<li class=\"has-black-color has-text-color has-link-color wp-elements-502c5806dbf16ae0554fd8e1a16c196d\">Disable <strong>mod_cpanel<\/strong>.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-4f1b376c8d64409a9c2b5699261732ac\">Click <strong>Review<\/strong> and then <strong>Provision<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Install via Command Line<\/h4>\n\n\n\n<p>Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ yum install ea-apache24-mod_cpanel\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Uninstall via Command Line<\/h4>\n\n\n\n<p>Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ yum remove ea-apache24-mod_cpanel\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>You have successfully learned how to install or uninstall the <strong>mod_cpanel<\/strong> Apache module using either the EasyApache 4 interface in WHM or the command line. After making changes, verify that Apache is functioning correctly and review your website configurations to ensure they continue to operate as expected. Regularly maintaining Apache modules helps keep your server optimized and compatible with current cPanel &amp; WHM features.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The mod_cpanel Apache module replaces the Optimize .htaccess (AllowOverride) feature that was previously available in the Global Configuration section of WHM&#8217;s Apache Configuration interface. This module allows cPanel &amp; WHM to manage specific Apache configurations more efficiently. Administrators can install or remove the module through the EasyApache 4 interface or by using command-line tools. ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[33],"tags":[],"class_list":["post-1656","post","type-post","status-publish","format-standard","hentry","category-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4? - PheonixSolutions Knowledge-Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4? - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction The mod_cpanel Apache module replaces the Optimize .htaccess (AllowOverride) feature that was previously available in the Global Configuration section of WHM&#8217;s Apache Configuration interface. This module allows cPanel &amp; WHM to manage specific Apache configurations more efficiently. Administrators can install or remove the module through the EasyApache 4 interface or by using command-line tools. ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-28T10:46:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-11T03:22:04+00:00\" \/>\n<meta name=\"author\" content=\"Saikrishna Areddy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Saikrishna Areddy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/\"},\"author\":{\"name\":\"Saikrishna Areddy\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"headline\":\"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4?\",\"datePublished\":\"2022-08-28T10:46:03+00:00\",\"dateModified\":\"2026-06-11T03:22:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/\"},\"wordCount\":251,\"commentCount\":0,\"articleSection\":[\"WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/\",\"name\":\"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4? - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"datePublished\":\"2022-08-28T10:46:03+00:00\",\"dateModified\":\"2026-06-11T03:22:04+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/08\\\/28\\\/how-to-install-or-uninstall-the-module\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\",\"name\":\"Saikrishna Areddy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"caption\":\"Saikrishna Areddy\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/saikrishna\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4? - PheonixSolutions Knowledge-Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/","og_locale":"en_US","og_type":"article","og_title":"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4? - PheonixSolutions Knowledge-Base","og_description":"Introduction The mod_cpanel Apache module replaces the Optimize .htaccess (AllowOverride) feature that was previously available in the Global Configuration section of WHM&#8217;s Apache Configuration interface. This module allows cPanel &amp; WHM to manage specific Apache configurations more efficiently. Administrators can install or remove the module through the EasyApache 4 interface or by using command-line tools. ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2022-08-28T10:46:03+00:00","article_modified_time":"2026-06-11T03:22:04+00:00","author":"Saikrishna Areddy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Saikrishna Areddy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/"},"author":{"name":"Saikrishna Areddy","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"headline":"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4?","datePublished":"2022-08-28T10:46:03+00:00","dateModified":"2026-06-11T03:22:04+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/"},"wordCount":251,"commentCount":0,"articleSection":["WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/","name":"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4? - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"datePublished":"2022-08-28T10:46:03+00:00","dateModified":"2026-06-11T03:22:04+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/08\/28\/how-to-install-or-uninstall-the-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to Install or Uninstall the mod_cpanel Apache Module in EasyApache 4?"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba","name":"Saikrishna Areddy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","caption":"Saikrishna Areddy"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/saikrishna\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=1656"}],"version-history":[{"count":5,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1656\/revisions"}],"predecessor-version":[{"id":3783,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1656\/revisions\/3783"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=1656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=1656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=1656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}