{"id":1779,"date":"2021-12-09T08:10:42","date_gmt":"2021-12-09T08:10:42","guid":{"rendered":"https:\/\/arzhost.com\/blogs\/?p=1779"},"modified":"2023-10-04T14:44:57","modified_gmt":"2023-10-04T14:44:57","slug":"how-to-enable-php-zip-archive-in-cpanel","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/","title":{"rendered":"Step-by-Step Guide on How to Enable PHP Zip Archive in cPanel"},"content":{"rendered":"<p>Any reasonable person would agree that you are wanting to engage PHP zip increase in <a href=\"https:\/\/en.wikipedia.org\/wiki\/CPanel\" target=\"_blank\" rel=\"noopener\">cPanel<\/a>? We can help you.<\/p>\n<p>PHP locations using pack records needs pack increases for data taking care of. Around here at <span style=\"color: #800000;\"><a style=\"color: #800000;\" href=\"https:\/\/www.arzhost.com\/\"><strong>ARZHOST<\/strong><\/a><\/span>, we get sales to enable PHP zip developments as a piece of our Server Management Services.<\/p>\n<p>Today, \u201cHow to Enable PHP Zip Archive in cPanel?\u201d, we have to see how our Hosting Expert Planners engage PHP zip development in cPanel.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#Why_do_we_need_the_PHP_zip_extension\" >Why do we need the PHP zip extension?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#How_to_engage_the_PHP_zip_expansion_in_cPanel\" >How to engage the PHP zip expansion in cPanel?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#How_to_enable_PHP_zip_increase_in_WHM\" >How to enable PHP zip increase in WHM?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#Ordinary_errors_while_enabling_PHP_Zip_development\" >Ordinary errors while enabling PHP Zip development<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#1_Missing_library\" >1. Missing library<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#2_Foundation_request_error\" >2. Foundation request error<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/arzhost.com\/blogs\/how-to-enable-php-zip-archive-in-cpanel\/#People_Also_Ask\" >People Also Ask<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Why_do_we_need_the_PHP_zip_extension\"><\/span><strong>Why do we need the PHP zip extension?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Site owners reliably look for methods of further developing site archives. Packing is one strategy for diminishing record size. A pack document record configuration maintains lossless data pressure, thusly making it sensible for sending and taking care of data.<\/p>\n<p>If purposes use a pack report plan, it needs a packed development to manage it. That is, pack extension allows the customers to examine and make into the pack records.<\/p>\n<p>By and by, \u201c<span style=\"color: #000000;\"><strong>How to Enable PHP Zip Archive in cPanel<\/strong><strong>?<\/strong><\/span>\u201d, what about we see how our Hosting Expert Planners enable PHP zip expansions in cPanel.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_engage_the_PHP_zip_expansion_in_cPanel\"><\/span><strong>How to engage the PHP zip expansion in cPanel?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>At first, we sign into cPanel and snap on the PHP PEAR Packages available under the SOFTWARE section. The image appears as in the image.<\/li>\n<li>Then, we type zoom in the pursuit bar, and Archive Zip will be available. Here, we click on the present image.<\/li>\n<li>Following presenting Archive Zip, \u201cHow to Enable PHP Zip Archive in cPanel?\u201d, we go to the past advance and snap the Select PHP Version image.<\/li>\n<li>As of now, the Archive Zip is observable here. Click the checkbox of the zip expansion. What&#8217;s more, hit the save button to add the Archive Zip to the current PHP variation. This would present the PHP Zip expansion.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"How_to_enable_PHP_zip_increase_in_WHM\"><\/span><strong>How to enable PHP zip increase in WHM?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Zip extension is an incredibly fundamental essential for locales nowadays. So we engage it in all of the servers we make due. \u201cHow to Enable PHP Zip Archive in cPanel?\u201d, What about we see how we engage it through WHM.<\/p>\n<p><u><a href=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal.jpg\"><img fetchpriority=\"high\" decoding=\"async\" title=\"cpanal\" class=\"aligncenter wp-image-1781\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal.jpg\" alt=\"How to enable PHP zip increase in WHM?\" width=\"762\" height=\"425\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal.jpg 1102w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal-300x167.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal-1024x571.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal-768x428.jpg 768w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal-848x472.jpg 848w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal-640x357.jpg 640w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2021\/12\/cpanal-400x223.jpg 400w\" sizes=\"(max-width: 762px) 100vw, 762px\" \/><\/a><\/u><\/p>\n<p><u>Right away, we login to WHM and investigate as follows:<\/u><\/p>\n<ul>\n<li><code>Programming &gt;&gt; Easy Apache 4 &gt;&gt; Customize &gt;&gt; PHP extensions. Here we search for zip and engage phpx.x-php-zoom for all structures. Finally, we click on Review and Provision.<\/code><\/li>\n<\/ul>\n<p>\u201cHow to Enable PHP Zip Archive in cPanel?\u201d, This engages the zip development for all the PHP locales in the server.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Ordinary_errors_while_enabling_PHP_Zip_development\"><\/span><strong>Ordinary errors while enabling PHP Zip development<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As of now, what about we see two or three typical mix-ups our customers explained to us while enabling the PHP zip development.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Missing_library\"><\/span><strong>1. Missing library<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><u>Lately, one of our customers pushed toward us with the under error message:<\/u><\/p>\n<ul>\n<li><code>PHP Zip Archive Library is missing or debilitated<\/code><\/li>\n<\/ul>\n<p><u>Our Hosting Expert Planners checked the current PHP interpretation using the request:<\/u><\/p>\n<ul>\n<li><code>php - v<\/code><\/li>\n<\/ul>\n<p><u>He used CentOS 6 with Apache and PHP 7.0. \u201cHow to Enable PHP Zip Archive in cPanel?\u201d, PHP 7 gives a php7.0-zip group. We presented it using the request:<\/u><\/p>\n<ul>\n<li><code>yum present php7.0-zip<\/code><\/li>\n<\/ul>\n<p><u>We used the under request to check out the libraries:<\/u><\/p>\n<ul>\n<li><code>yum list presented | grep - I php<\/code><\/li>\n<\/ul>\n<p><u>At long last, we ran the under request to restart Apache:<\/u><\/p>\n<ul>\n<li><code>organization httpd restart<\/code><\/li>\n<\/ul>\n<p>Finally, this nice error.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Foundation_request_error\"><\/span><strong>2. Foundation request error<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The PHP zip expansions can be enabled through orders too. Hence, relatively few customers\u2019 efforts to present it through orders themselves. However, messing up the request lead to errors.<\/p>\n<p>Here is a model where the customer experienced a misstep due to the wrong request. \u201cHow to Enable PHP Zip Archive in cPanel?\u201d, The customer got the mix-up Class Zip Extension not found. He was using CentOS 7 and PHP 7.0.27.<\/p>\n<p><u>Our Hosting Expert Planners checked the request he used. The request was:<\/u><\/p>\n<ul>\n<li><code>yum present php70-php-pecl-zip<\/code><\/li>\n<\/ul>\n<p><u>The genuine group was PHP-pecl-zip.x86_64. So we presented it using the request:<\/u><\/p>\n<ul>\n<li><code>yum present php70-php-pecl-zip.x86_64<\/code><\/li>\n<\/ul>\n<p><u>Furthermore, thereafter, we enabled it by running the request:<\/u><\/p>\n<ul>\n<li><code>resonation \"extension=zip.so\" &gt;&gt;, etc\/php.d\/zip.ini<\/code><\/li>\n<\/ul>\n<p>\u201cHow to Enable PHP Zip Archive in cPanel?\u201d, This legitimated the error and the PHP expansion was engaged.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To lay it out simply, \u201cHow to Enable PHP Zip Archive in cPanel?\u201d, PHP locales using pack records require pack expansions for data dealing with. Today at ARZHOS, we saw how our Hosting Expert Planners enabled PHP zip extension in cPanel.<\/p>\n<hr \/>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"People_Also_Ask\"><\/span>People Also Ask<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Question # 1: How do I enable zip in WHM?<\/strong><\/p>\n<p>Answer: In WHM go to Software &#8211; &gt; EasyApache4 &#8211; &gt; Customize Profile (applies to your present introduced settings\/bundles). Go to PHP Extensions, select All for Page size, then, at that point, empower the bundles containing ZIP for all the PHP forms accessible there.<\/p>\n<p><strong>Question # 2: How do I know if PHP zip is installed?<\/strong><\/p>\n<p>Answer:<\/p>\n<ol>\n<li>check with phpinfo(), pretty certain it&#8217;s as of now there. \u2013 Teson. Nov 14 &#8217;11 at 20:40.<\/li>\n<li>if (!extension_loaded(&#8216;zip&#8217;)) { reverberation &#8216;zipless&#8217; } \u2013 Marc B. Nov 14 &#8217;11 at 20:52.<\/li>\n<li>execute in order line: &#8216;PHP &#8211; m&#8217; and check if your &#8216;zip&#8217; expansion is in the rundown. \u2013 Eugene Kaurov. Oct 6 &#8217;20 at 10:56.<\/li>\n<\/ol>\n<p><strong>Question # 3: What is WHM?<\/strong><\/p>\n<p>Answer: WHM (Web Host Manager) is a control dashboard that enables the client to deal with various cPanel-based locales. In this article, you will realize the reason why you should utilize WHM and how it tends to be valuable in sites the executives.<\/p>\n<hr \/>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>Any reasonable person would agree that you are wanting to engage PHP zip increase in cPanel? We can help you. PHP locations using pack records needs pack increases for data taking care of. Around here at ARZHOST, we get sales to enable PHP zip developments as a piece of our Server Management Services. Today, \u201cHow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7044,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,22,14,17,26,16],"tags":[],"table_tags":[],"class_list":["post-1779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","category-hosting","category-news","category-security","category-server","category-tutorial"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/1779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=1779"}],"version-history":[{"count":4,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/1779\/revisions"}],"predecessor-version":[{"id":8341,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/1779\/revisions\/8341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/7044"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=1779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=1779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=1779"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=1779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}