{"id":4734,"date":"2018-05-02T20:03:59","date_gmt":"2018-05-02T14:33:59","guid":{"rendered":"https:\/\/phpyouth.com\/blog\/?p=4734"},"modified":"2026-05-06T16:39:55","modified_gmt":"2026-05-06T11:09:55","slug":"how-to-enable-php-modules-in-whm","status":"publish","type":"post","link":"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-whm\/","title":{"rendered":"How to Enable PHP Modules in WHM"},"content":{"rendered":"<p>Hello friends, today we will learn <strong>how to enable PHP modules in WHM(Web Host Manager)<\/strong>. Many WordPress beginners face this issue while importing demo content on a paid WordPress theme. Sometimes, required PHP modules are not installed or activated by default in cPanel. In this article, we will focus on one common error: the <strong>PHP Zip Module<\/strong>.<\/p>\n<p>Yesterday, a friend of mine installed a theme but faced this error while importing demo content:<\/p>\n<blockquote><p>Oops, Unyson Backup requires PHP Zip module but it is not enabled on your server. If you are not familiar with PHP Zip module, please contact your hosting provider.<\/p><\/blockquote>\n<p><a href=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter wp-image-4737 size-full\" src=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png?resize=988%2C40&#038;ssl=1\" alt=\"php-zip-module-error\" width=\"988\" height=\"40\" srcset=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png?w=988&amp;ssl=1 988w, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png?resize=300%2C12&amp;ssl=1 300w, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png?resize=768%2C31&amp;ssl=1 768w\" sizes=\"(max-width: 988px) 100vw, 988px\" \/><\/a><\/p>\n<h2>How to Enable the PHP Zip Module in WHM<\/h2>\n<p>Let&#8217;s see how to enable it and fix the <strong>PHP ZIP<\/strong> error. Follow the steps below:<\/p>\n<p><strong>STEP 1: <\/strong>Log in\u00a0to your <strong>WHM<\/strong>(Web Host Manager)<\/p>\n<p><strong>STEP 2: <\/strong>In the search bar and type <em>easy<\/em>. From the results, click on <strong><em>EasyApache 4<\/em><\/strong>.<\/p>\n<p><strong>STEP 3:\u00a0 <\/strong>Click on Customize next to your <strong>Default cPanel Profile<\/strong>.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png?ssl=1\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-4742 size-full\" src=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png?resize=950%2C321&#038;ssl=1\" alt=\"cpanel-default\" width=\"950\" height=\"321\" srcset=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png?w=950&amp;ssl=1 950w, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png?resize=300%2C101&amp;ssl=1 300w, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png?resize=768%2C260&amp;ssl=1 768w\" sizes=\"(max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p><strong>STEP 4: <\/strong>Select the <strong><em>PHP Extension<\/em><\/strong> tab, then choose the <strong><em>PHP<\/em><\/strong> version set for your website, and install the <strong>PHP Zip module<\/strong> by clicking the grey icon. You can see this in the screenshot below.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter wp-image-4743 size-full\" src=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png?resize=958%2C427&#038;ssl=1\" alt=\"Enable PHP Modules in WHM\" width=\"958\" height=\"427\" srcset=\"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png?w=958&amp;ssl=1 958w, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png?resize=300%2C134&amp;ssl=1 300w, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png?resize=768%2C342&amp;ssl=1 768w\" sizes=\"(max-width: 958px) 100vw, 958px\" \/><\/a><\/p>\n<p><strong>STEP 5:<\/strong> After installing the <strong>PHP Zip Module<\/strong>, click on <em>Review<\/em>. Then scroll down and click the <em>Provision<\/em> button.<\/p>\n<p><strong>STEP 6: <\/strong>Once you get &#8216;<em>The provision process is complete.<\/em>&#8216; Click on the Done button.<\/p>\n<p><strong>STEP 7:\u00a0 <\/strong>Your <strong>PHP Zip<\/strong> Module is installed successfully.<\/p>\n<h2>Final Thoughts<\/h2>\n<p>I hope this article helped you learn about how to enable PHP Modules in WHM. Please share your thoughts in below comment box.<\/p>\n<h2>Additional Resources<\/h2>\n<p>This article is also available in the <a href=\"https:\/\/phpyouth.com\/blog\/video-version-how-to-enable-php-modules-via-whm\" rel=\"noopener\">Video version<\/a>, or you can directly watch it on our <a href=\"https:\/\/www.youtube.com\/watch?v=u4NiYvfqfXk&amp;t=33s\" target=\"_blank\" rel=\"noopener\">YouTube<\/a>.<\/p>\n<p>If you liked this article, please subscribe to our <a href=\"https:\/\/www.youtube.com\/channel\/UCHrhNC-kDVi2m5Pcf4VtCxw\" target=\"_blank\" rel=\"noopener\">YouTube Channel<\/a> for more tutorials. Keep learning and sharing.<\/p>\n<p><a href=\"https:\/\/www.hostg.xyz\/aff_c?offer_id=6&amp;aff_id=115521&amp;url_id=35&amp;file_id=1399\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/media.go2speed.org\/brand\/files\/hostinger\/6\/EN-970x250.jpg?resize=970%2C250&#038;ssl=1\" width=\"970\" height=\"250\" border=\"0\" alt=\"\"><\/a><img loading=\"lazy\" decoding=\"async\" style=\"position: absolute; visibility: hidden;\" src=\"https:\/\/www.hostg.xyz\/aff_i?offer_id=6&amp;file_id=1399&amp;aff_id=115521&amp;url_id=35\" width=\"0\" height=\"0\" border=\"0\" alt=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello friends, today we will learn how to enable PHP modules in WHM(Web Host Manager). Many WordPress beginners face this issue while importing demo content on a paid WordPress theme. Sometimes, required PHP modules are not installed or activated by default in cPanel. In this article, we will focus on one common error: the PHP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4746,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,93,138],"tags":[143,139,13,140,141],"class_list":["post-4734","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","category-tutorial","category-whm","tag-demo-importing-error","tag-easyapache4","tag-php","tag-php-zip","tag-whm"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?fit=560%2C315&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8zepR-1em","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4773,"url":"https:\/\/phpyouth.com\/blog\/video-version-how-to-enable-php-modules-via-whm\/","url_meta":{"origin":4734,"position":0},"title":"VIDEO VERSION: How to Enable PHP Modules via WHM","author":"RK Jajoria","date":"May 28, 2018","format":false,"excerpt":"Hello friends, today we will learn about How to enable PHP modules in WHM(Web Host Manager). WordPress beginners face this problem while importing demo content on a Paid WordPress theme. Sometimes these modules are not installed\/activated by default in cPanels that\u2019s why we get the error, so we have to\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/php\/"},"img":{"alt_text":"How to Enable PHP Modules in WHM","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4782,"url":"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-cpanel\/","url_meta":{"origin":4734,"position":1},"title":"How to Enable PHP Extensions through cPanel","author":"RK Jajoria","date":"June 1, 2018","format":false,"excerpt":"Friends, today we\u2019ll discuss how to enable PHP extensions through cPanel. A few weeks ago, we shared a post about enabling PHP modules in WHM. So, we\u2019re writing this post now because a subscriber requested it. Install PHP Zip in cPanel if not enabled by default. Let\u2019s see how to\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/cpanel\/"},"img":{"alt_text":"Enable zip in cpanel","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4973,"url":"https:\/\/phpyouth.com\/blog\/enable-gzip-compression\/","url_meta":{"origin":4734,"position":2},"title":"How to enable GZIP compression","author":"RK Jajoria","date":"July 2, 2019","format":false,"excerpt":"Hello, friends, today\u2019s topic is how to enable GZIP compression on your web server. If you know what GZIP is and how to enable it, that\u2019s good. But if you don\u2019t, please read this tutorial till the end. What is GZIP Compression? GZIP is a file format and software application\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/cpanel\/"},"img":{"alt_text":"GZIP-Compression","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4827,"url":"https:\/\/phpyouth.com\/blog\/enable-http-security-headers\/","url_meta":{"origin":4734,"position":3},"title":"Enable HTTP Security Headers","author":"RK Jajoria","date":"August 13, 2018","format":false,"excerpt":"Hello, friends, today we will learn about HTTP Security Headers. There are a lot of things to consider while securing our website or web applications. HTTP Security Header is one of the best options. Implementing HTTP Security Headers is very easy on the server. HTTP Security Header provides another level\u2026","rel":"","context":"In &quot;Maintenance&quot;","block_context":{"text":"Maintenance","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/maintenance\/"},"img":{"alt_text":"http security header","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":5093,"url":"https:\/\/phpyouth.com\/blog\/wordpress-5-2-3-features\/","url_meta":{"origin":4734,"position":4},"title":"What&#8217;s New in WordPress 5.2.3","author":"RK Jajoria","date":"September 6, 2019","format":false,"excerpt":"WordPress has released new updates, including important features for website owners. Let\u2019s explore what\u2019s new in WordPress version 5.2.3. 1. PHP Error Protection Firstly, This administrator-focused update will let you safely fix or manage fatal errors without requiring a developer. It features better handling of the so-called \u201cwhite screen of\u2026","rel":"","context":"In &quot;Wordpress&quot;","block_context":{"text":"Wordpress","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"WordPress 5.2.3","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/09\/WordPress-5.2.3.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/09\/WordPress-5.2.3.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/09\/WordPress-5.2.3.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4447,"url":"https:\/\/phpyouth.com\/blog\/add-multiple-css-classes-in-wordpress\/","url_meta":{"origin":4734,"position":5},"title":"How to Add Multiple CSS Classes in WordPress","author":"RK Jajoria","date":"March 27, 2019","format":"image","excerpt":"CSS plays an important role in UI\/UX Today, we will learn how to add multiple CSS classes using functions. This helps you design each WordPress post differently using specific classes. STEP I:- First, define the classes as an array in the functions.php file inside your\u00a0child-theme folder. It's very simple. For\u2026","rel":"","context":"In &quot;Wordpress&quot;","block_context":{"text":"Wordpress","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/comments?post=4734"}],"version-history":[{"count":1,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4734\/revisions"}],"predecessor-version":[{"id":12520,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4734\/revisions\/12520"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media\/4746"}],"wp:attachment":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media?parent=4734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/categories?post=4734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/tags?post=4734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}