{"id":4782,"date":"2018-06-01T20:19:03","date_gmt":"2018-06-01T14:49:03","guid":{"rendered":"https:\/\/phpyouth.com\/blog\/?p=4782"},"modified":"2026-05-06T16:39:19","modified_gmt":"2026-05-06T11:09:19","slug":"how-to-enable-php-modules-in-cpanel","status":"publish","type":"post","link":"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-cpanel\/","title":{"rendered":"How to Enable PHP Extensions through cPanel"},"content":{"rendered":"<p>Friends, today we\u2019ll discuss <strong>how to enable PHP extensions through cPanel<\/strong>. A few weeks ago, we shared a post about <a href=\"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-whm\">enabling PHP modules in WHM<\/a>. So, we\u2019re writing this post now because a subscriber requested it.<\/p>\n<p data-pm-slice=\"0 0 []\">Install PHP Zip in cPanel if not enabled by default.<\/p>\n<p>Let\u2019s see how to enable the <strong>PHP ZIP<\/strong> extension. Follow the steps below\u2014screenshots are from <em><a href=\"http:\/\/hosting.phpyouth.com\">GoDaddy cPanel<\/a><\/em>:<\/p>\n<p><strong>STEP 1:<\/strong> Log in to your website&#8217;s <strong>cPanel <\/strong>(Control Panel), then go to the Software section. See screenshot(source: GoDaddy cPanel)<a name=\"first-screen\"><\/a><\/p>\n<p><a href=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Software-in-cpanel.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-4783\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Software-in-cpanel.png\" alt=\"Software in cpanel\" width=\"994\" height=\"295\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Software-in-cpanel.png 994w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Software-in-cpanel-300x89.png 300w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Software-in-cpanel-768x228.png 768w\" sizes=\"(max-width: 994px) 100vw, 994px\" \/><\/a><\/p>\n<p><strong>STEP 2:<\/strong> First, go to the <strong>PHP PEAR Package<\/strong>. Then type <em>Zip<\/em> in the search bar, and you will find <strong>Archive_Zip. <\/strong>Finally, click on the green install icon, see the screenshot (source: GoDaddy cPanel)<\/p>\n<p><a href=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/install-zip.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-4784\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/install-zip.png\" alt=\"install zip in cpanel\" width=\"976\" height=\"307\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/install-zip.png 976w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/install-zip-300x94.png 300w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/install-zip-768x242.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/a><\/p>\n<p><strong>STEP 3:<\/strong>\u00a0 After installing <strong>Archive_Zip<\/strong>,\u00a0 move on to the next step (<em>Select PHP Version<\/em>) as shown in the <a href=\"#first-screen\">first screenshot<\/a>.<\/p>\n<p><strong>STEP 4:<\/strong> Next, click on <strong>Select PHP Version<\/strong><span style=\"box-sizing: border-box;\"> to see all the enabled extensions for your current PHP version.<\/span> You should see <strong data-start=\"395\" data-end=\"416\" data-is-only-node=\"\">Archive_Zip (zip)<\/strong> listed there as well. Now, simply check the box next to the Zip extension<span style=\"font-size: 16px; font-style: normal; font-weight: 400;\">\u00a0<\/span><span style=\"font-size: 16px;\">and then hit the save button to add the <\/span><strong style=\"font-size: 16px;\">Archive_Zip<\/strong><span style=\"font-size: 16px;\"> to the current PHP version. See screenshot(source: Godaddy cPanel)<\/span><\/p>\n<p><a href=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/select-php-version-and-enable-zip.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-4785\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/select-php-version-and-enable-zip.png\" alt=\"select php version and enable zip\" width=\"804\" height=\"330\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/select-php-version-and-enable-zip.png 804w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/select-php-version-and-enable-zip-300x123.png 300w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/select-php-version-and-enable-zip-768x315.png 768w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>STEP 5: <\/strong>After hitting save, your PHP Zip extension will be installed successfully.<\/p>\n<p><strong>STEP 6:\u00a0<\/strong>Now, the final step (3rd part as per the <a href=\"#first-screen\">first screenshot<\/a>) is to clear all the <em>PHP Processes <\/em>(similar to clearing the cache). To do this, click on <strong>PHP Processes <\/strong>and then hit the<strong> Kill Processes<\/strong> button.<strong>\u00a0<\/strong>That&#8217;s it!<\/p>\n<p><a href=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Kill-PHP-processes.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4786\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Kill-PHP-processes.png\" alt=\"\" width=\"1189\" height=\"266\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Kill-PHP-processes.png 1189w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Kill-PHP-processes-300x67.png 300w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Kill-PHP-processes-768x172.png 768w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Kill-PHP-processes-1024x229.png 1024w\" sizes=\"(max-width: 1189px) 100vw, 1189px\" \/><\/a><\/p>\n<p><strong>STEP 7: <\/strong>Your PHP Zip extension is installed and ready to use on your website.<\/p>\n<h4>Read\u00a0How to Enable PHP Modules in WHM<\/h4>\n<blockquote class=\"wp-embedded-content\" data-secret=\"B7Bf6DnmIy\"><p><a href=\"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-whm\/\">How to Enable PHP Modules in WHM<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;How to Enable PHP Modules in WHM&#8221; &#8212; WordPress Tutorial for Beginner&#039;s\" src=\"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-whm\/embed\/#?secret=Dg7PZHEHom#?secret=B7Bf6DnmIy\" data-secret=\"B7Bf6DnmIy\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/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=\"\"><\/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>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 enable the PHP ZIP extension. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4787,"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":"","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":[150,5,93],"tags":[151,143,13,140,152],"class_list":["post-4782","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-php","category-tutorial","tag-cpanel","tag-demo-importing-error","tag-php","tag-php-zip","tag-zip-extension"],"acf":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8zepR-1f8","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4734,"url":"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-whm\/","url_meta":{"origin":4782,"position":0},"title":"How to Enable PHP Modules in WHM","author":"RK Jajoria","date":"May 2, 2018","format":false,"excerpt":"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\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":4973,"url":"https:\/\/phpyouth.com\/blog\/enable-gzip-compression\/","url_meta":{"origin":4782,"position":1},"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":5081,"url":"https:\/\/phpyouth.com\/blog\/configure-dns-for-cpanel-email\/","url_meta":{"origin":4782,"position":2},"title":"How to Configure DNS for cPanel Email","author":"RK Jajoria","date":"August 31, 2019","format":false,"excerpt":"Hello friends, today we will learn how to configure DNS for cPanel Email. Specifically, if you create email accounts in the cPanel of GoDaddy and register your domain with HostGator, then this guide will help you. To illustrate, I have chosen GoDaddy and HostGator as examples because both provide top\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/cpanel\/"},"img":{"alt_text":"cPanel DNS configuration","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/cPanel-DNS-configuration-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/cPanel-DNS-configuration-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/cPanel-DNS-configuration-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4650,"url":"https:\/\/phpyouth.com\/blog\/how-to-resolve-this-page-isnt-working-http-error-500\/","url_meta":{"origin":4782,"position":3},"title":"How to resolve &#8220;This Page isn&#8217;t Working &#8211; HTTP ERROR 500&#8221;","author":"RK Jajoria","date":"April 13, 2018","format":false,"excerpt":"Hello, friends, today we will learn how to resolve \"This Page isn't Working HTTP ERROR 500\". Last week, we got this error while shifting one of my websites from one server to another. However, there's no need to worry, WordPress has this common error, and we can easily resolve it.\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/php\/"},"img":{"alt_text":"HTTP ERROR 500","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/Copy-of-fresh-aquasummit.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/Copy-of-fresh-aquasummit.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/Copy-of-fresh-aquasummit.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4443,"url":"https:\/\/phpyouth.com\/blog\/4-vital-monthly-wordpress-maintenance-tasks\/","url_meta":{"origin":4782,"position":4},"title":"4 Vital Monthly WordPress Maintenance Tasks","author":"RK Jajoria","date":"July 16, 2018","format":false,"excerpt":"Hello Friends, today we will learn about 4 Vital Monthly WordPress Maintenance tasks which we need to do regularly. But first, we need to understand why WordPress maintenance is important. We think that once our\u00a0 WordPress website is completed and live, our work is over, but that's not true. If\u2026","rel":"","context":"In &quot;Maintenance&quot;","block_context":{"text":"Maintenance","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/maintenance\/"},"img":{"alt_text":"wordpress maintenance","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/07\/wordpress-maintenance.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/07\/wordpress-maintenance.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/07\/wordpress-maintenance.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4773,"url":"https:\/\/phpyouth.com\/blog\/video-version-how-to-enable-php-modules-via-whm\/","url_meta":{"origin":4782,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4782","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=4782"}],"version-history":[{"count":1,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4782\/revisions"}],"predecessor-version":[{"id":12518,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4782\/revisions\/12518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media\/4787"}],"wp:attachment":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media?parent=4782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/categories?post=4782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/tags?post=4782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}