{"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:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png\"><img decoding=\"async\" class=\"aligncenter wp-image-4737 size-full\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png\" alt=\"php-zip-module-error\" width=\"988\" height=\"40\" title=\"\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module.png 988w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module-300x12.png 300w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php-zip-module-768x31.png 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:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-4742 size-full\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png\" alt=\"cpanel-default\" width=\"950\" height=\"321\" title=\"\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default.png 950w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default-300x101.png 300w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/cpanel-default-768x260.png 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:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png\"><img decoding=\"async\" class=\"aligncenter wp-image-4743 size-full\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png\" alt=\"Enable PHP Modules in WHM\" width=\"958\" height=\"427\" title=\"\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip.png 958w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip-300x134.png 300w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/php70-php-zip-768x342.png 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 loading=\"lazy\" decoding=\"async\" src=\"https:\/\/media.go2speed.org\/brand\/files\/hostinger\/6\/EN-970x250.jpg\" width=\"970\" height=\"250\" border=\"0\" alt=\"\" title=\"\"><\/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=\"\" title=\"\"><\/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_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"How to Enable PHP Modules in WHM","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"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_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png","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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?resize=525%2C300&ssl=1 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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?resize=525%2C300&ssl=1 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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?resize=525%2C300&ssl=1 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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4447,"url":"https:\/\/phpyouth.com\/blog\/add-multiple-css-classes-in-wordpress\/","url_meta":{"origin":4734,"position":4},"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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":331,"url":"https:\/\/phpyouth.com\/blog\/wordpress-tutorial-how-to-create-a-wordpress-themes\/","url_meta":{"origin":4734,"position":5},"title":"Create A WordPress Themes","author":"RK Jajoria","date":"May 19, 2014","format":false,"excerpt":"WordPress themes are the most used and popular blogging platform on the web. Its flexibility, usability, and customizability are why people regard WordPress highly. Another reason is WordPress's huge array of themes; you can create almost anything, from online magazines to advanced e-commerce businesses. WordPress themes. You can either get\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\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=700%2C400&ssl=1 2x"},"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}]}}