{"id":1774,"date":"2020-04-26T18:54:04","date_gmt":"2020-04-26T10:54:04","guid":{"rendered":"https:\/\/www.intelliwolf.com\/?p=1774"},"modified":"2020-04-26T18:54:08","modified_gmt":"2020-04-26T10:54:08","slug":"install-php-zip-whm","status":"publish","type":"post","link":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/install-php-zip-whm\/","title":{"rendered":"How To Install PHP Zip On WHM"},"content":{"rendered":"\n

I was playing around with converting a WordPress site to a static html site and ran into a \"WARNING: ZIP extension mission\" message when I tried to use zip.<\/p>\n\n\n\n

\"Error<\/figure><\/div>\n\n\n\n

After some digging around, I realised I needed to install PHP zip. This is a server on which I have WHM, so I'll go through how I fixed it here.<\/p>\n\n\n\n

How to install PHP Zip on WHM<\/strong>:<\/p>\n\n\n\n

  1. In WHM, go to EasyApache 4<\/li>
  2. Customize the current package<\/li>
  3. Under \"PHP Extensions\", do a search for \"zip\"<\/li>
  4. Enable phpxx-php-zip for the installation, or for all installations<\/li>
  5. Provision the changes and restart Apache<\/li><\/ol>\n\n\n\n

    Let's go through those steps now.<\/p>\n\n\n\n

    Log in to WHM. If you're confident enough to fix this, you'll know what your login for WHM is. If you don't know it, it's probably best you get in touch with your hosting provider to do this for you.<\/p>\n\n\n\n

    Do a search for \"easy\", click \"EasyApache 4\" under software and click \"Customize\".<\/p>\n\n\n\n

    You might have a different number after EasyApache. Just choose that one.<\/p>\n\n\n\n

    If you have multiple EasyApache versions, choose the highest one. You'll likely get an error message if you choose the one that's not currently running.<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    You can go through each of the options if you like, or just click on PHP Extensions<\/em> to jump to the part we need.<\/p>\n\n\n\n

    Do a search for \"zip\", or you'll be scrolling for awhile.<\/p>\n\n\n\n

    You should see a list of PHP Zip modules, one for each of the PHP versions you have installed on the server.<\/p>\n\n\n\n

    If you know you're only going to need it for one version, just enable that one. I don't see the harm in enabling for all.<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    You can either click \"Next\" until you get to the end, or just click \"Review\" in the side.<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    Under Review<\/em>, you'll see the list of packages you're going to install. Check to make sure there's nothing unexpected in there. It will also list any upgrades or other affected packages.<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    When you're happy with what's being installed, click \"Provision\" to roll it out.<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    It will take a few seconds to install the packages. You should see \"Provision process finished\" and \"The provision process is complete.\"<\/p>\n\n\n\n

    Click \"Done\".<\/p>\n\n\n\n

    \"Message<\/figure><\/div>\n\n\n\n

    For the last step, you need to restart Apache. The changes you made won't take effect until you've restarted it.<\/p>\n\n\n\n

    You're not restarting the entire server, just the Apache software. I know it says \"HTTP Server (Apache)\", but it's just talking about the specific software on the server rather than the whole machine.<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    Click \"Yes\" when prompted to restart Apache Web Server.<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    It should only take a few seconds to restart Apache. You'll see the message \"Apache restarted successfully.\"<\/p>\n\n\n\n

    \"WHM<\/figure><\/div>\n\n\n\n

    Now when you go back to your website, you won't see the error message about Zip not being installed.<\/p>\n\n\n\n

    \"WordPress<\/figure><\/div>\n\n\n\n

    I hope you found this tutorial useful. If you have any questions, please comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"

    I was playing around with converting a WordPress site to a static html site and ran into a “WARNING: ZIP extension mission” message when I tried to use zip. After some digging around, I realised I needed to install PHP zip. This is a server on which I have WHM, so I’ll go through how<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"yoast_head":"\nHow To Install PHP Zip On WHM<\/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:\/\/www.intelliwolf.com\/install-php-zip-whm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install PHP Zip On WHM\" \/>\n<meta property=\"og:description\" content=\"I was playing around with converting a WordPress site to a static html site and ran into a "WARNING: ZIP extension mission" message when I tried to use zip. After some digging around, I realised I needed to install PHP zip. This is a server on which I have WHM, so I'll go through how\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/\" \/>\n<meta property=\"og:site_name\" content=\"Intelliwolf\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-26T10:54:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-26T10:54:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png\" \/>\n<meta name=\"author\" content=\"Mike Haydon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mike Haydon\" \/>\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:\/\/www.intelliwolf.com\/install-php-zip-whm\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/\"},\"author\":{\"name\":\"Mike Haydon\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343\"},\"headline\":\"How To Install PHP Zip On WHM\",\"datePublished\":\"2020-04-26T10:54:04+00:00\",\"dateModified\":\"2020-04-26T10:54:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/\"},\"wordCount\":481,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png\",\"articleSection\":[\"Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/\",\"url\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/\",\"name\":\"How To Install PHP Zip On WHM\",\"isPartOf\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png\",\"datePublished\":\"2020-04-26T10:54:04+00:00\",\"dateModified\":\"2020-04-26T10:54:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage\",\"url\":\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png\",\"contentUrl\":\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.intelliwolf.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Server\",\"item\":\"https:\/\/www.intelliwolf.com\/category\/server\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Install PHP Zip On WHM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.intelliwolf.com\/#website\",\"url\":\"https:\/\/www.intelliwolf.com\/\",\"name\":\"Intelliwolf\",\"description\":\"WordPress, Web Design and Coding Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.intelliwolf.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\",\"name\":\"Intelliwolf\",\"url\":\"https:\/\/www.intelliwolf.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png\",\"contentUrl\":\"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png\",\"width\":300,\"height\":100,\"caption\":\"Intelliwolf\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343\",\"name\":\"Mike Haydon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g\",\"caption\":\"Mike Haydon\"},\"sameAs\":[\"https:\/\/intelliwolf.com\/about-mike-haydon\/\"]}]}<\/script>\n","yoast_head_json":{"title":"How To Install PHP Zip On WHM","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:\/\/www.intelliwolf.com\/install-php-zip-whm\/","og_locale":"en_US","og_type":"article","og_title":"How To Install PHP Zip On WHM","og_description":"I was playing around with converting a WordPress site to a static html site and ran into a \"WARNING: ZIP extension mission\" message when I tried to use zip. After some digging around, I realised I needed to install PHP zip. This is a server on which I have WHM, so I'll go through how","og_url":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/","og_site_name":"Intelliwolf","article_published_time":"2020-04-26T10:54:04+00:00","article_modified_time":"2020-04-26T10:54:08+00:00","og_image":[{"url":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png"}],"author":"Mike Haydon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mike Haydon","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#article","isPartOf":{"@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/"},"author":{"name":"Mike Haydon","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343"},"headline":"How To Install PHP Zip On WHM","datePublished":"2020-04-26T10:54:04+00:00","dateModified":"2020-04-26T10:54:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/"},"wordCount":481,"commentCount":1,"publisher":{"@id":"https:\/\/www.intelliwolf.com\/#organization"},"image":{"@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png","articleSection":["Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/","url":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/","name":"How To Install PHP Zip On WHM","isPartOf":{"@id":"https:\/\/www.intelliwolf.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage"},"image":{"@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png","datePublished":"2020-04-26T10:54:04+00:00","dateModified":"2020-04-26T10:54:08+00:00","breadcrumb":{"@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.intelliwolf.com\/install-php-zip-whm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#primaryimage","url":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png","contentUrl":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/04\/2020-04-26-install-php-zip-whm-01-600x106.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.intelliwolf.com\/install-php-zip-whm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.intelliwolf.com\/"},{"@type":"ListItem","position":2,"name":"Server","item":"https:\/\/www.intelliwolf.com\/category\/server\/"},{"@type":"ListItem","position":3,"name":"How To Install PHP Zip On WHM"}]},{"@type":"WebSite","@id":"https:\/\/www.intelliwolf.com\/#website","url":"https:\/\/www.intelliwolf.com\/","name":"Intelliwolf","description":"WordPress, Web Design and Coding Tutorials","publisher":{"@id":"https:\/\/www.intelliwolf.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.intelliwolf.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.intelliwolf.com\/#organization","name":"Intelliwolf","url":"https:\/\/www.intelliwolf.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/","url":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png","contentUrl":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png","width":300,"height":100,"caption":"Intelliwolf"},"image":{"@id":"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343","name":"Mike Haydon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g","caption":"Mike Haydon"},"sameAs":["https:\/\/intelliwolf.com\/about-mike-haydon\/"]}]}},"_links":{"self":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/posts\/1774"}],"collection":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/comments?post=1774"}],"version-history":[{"count":0,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/posts\/1774\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/media?parent=1774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/categories?post=1774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/tags?post=1774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}