{"id":393,"date":"2021-06-08T15:54:48","date_gmt":"2021-06-08T07:54:48","guid":{"rendered":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/?p=393"},"modified":"2021-06-08T16:24:16","modified_gmt":"2021-06-08T08:24:16","slug":"how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found","status":"publish","type":"post","link":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/","title":{"rendered":"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found"},"content":{"rendered":"<p>Last updated: 20210608<\/p>\n<p>If you are using WHM, install PHP 7.4 or higher &#8211; as PHP 7.2\/7.3 on WHM, will not work with below settings\/methods.<\/p>\n<p>https:\/\/support.cpanel.net\/hc\/en-us\/articles\/360061185574-Call-to-undefined-method-ZipArchive-setEncryptionName-<\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;<\/p>\n<p>&nbsp;<\/p>\n<p>After installing PHP 7.4, continue with:<\/p>\n<p>&nbsp;<\/p>\n<p>If you have WHM available it is easier.<\/p>\n<p>Log in to\u00a0<strong>WHM<\/strong>.<\/p>\n<p>Go to\u00a0<strong>EasyApache<\/strong>\u00a04 (or whatever version u have) under\u00a0<strong>Software<\/strong>\u00a0tab.<\/p>\n<p>Under Currently Installed Packages\u00a0<strong>click Customize<\/strong>.<\/p>\n<p>Go to\u00a0<strong>PHP Extensions<\/strong>, in search type &#8220;<strong>zip<\/strong>&#8221; (<em>without quotes<\/em>),<\/p>\n<p>you should see 3 modules<\/p>\n<p>check all of them,<\/p>\n<p>click blue button few times to finish the process.<\/p>\n<p>This worked for me. Thankfully I&#8217;ve WHM available.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>You will also need to install other extensions that were installed for 7.2 and 7.3 that your website used before.<\/p>\n<p>&nbsp;<\/p>\n<p>Now make sure to switch the site PHP version to 7.4<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last updated: 20210608 If you are using WHM, install PHP 7.4 or higher &#8211; as PHP 7.2\/7.3 on WHM, will not work with below settings\/methods. https:\/\/support.cpanel.net\/hc\/en-us\/articles\/360061185574-Call-to-undefined-method-ZipArchive-setEncryptionName- &nbsp; &#8212; &nbsp; After installing PHP 7.4, continue with: &nbsp; If you have WHM available it is easier. Log in to\u00a0WHM. Go to\u00a0EasyApache\u00a04 (or whatever version u have) under\u00a0Software\u00a0tab. &hellip; <a href=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-393","post","type-post","status-publish","format-standard","hentry","category-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#039;ziparchive&#039; not found - Developer Hack<\/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:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#039;ziparchive&#039; not found - Developer Hack\" \/>\n<meta property=\"og:description\" content=\"Last updated: 20210608 If you are using WHM, install PHP 7.4 or higher &#8211; as PHP 7.2\/7.3 on WHM, will not work with below settings\/methods. https:\/\/support.cpanel.net\/hc\/en-us\/articles\/360061185574-Call-to-undefined-method-ZipArchive-setEncryptionName- &nbsp; &#8212; &nbsp; After installing PHP 7.4, continue with: &nbsp; If you have WHM available it is easier. Log in to\u00a0WHM. Go to\u00a0EasyApache\u00a04 (or whatever version u have) under\u00a0Software\u00a0tab. &hellip; Continue reading &quot;How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/\" \/>\n<meta property=\"og:site_name\" content=\"Developer Hack\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-08T07:54:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-08T08:24:16+00:00\" \/>\n<meta name=\"author\" content=\"Bad Joe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bad Joe\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/\"},\"author\":{\"name\":\"Bad Joe\",\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/#\\\/schema\\\/person\\\/01df012e94dd976ac49e50cdbf0e38d6\"},\"headline\":\"How to add ZipArchive to your cPanel\\\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found\",\"datePublished\":\"2021-06-08T07:54:48+00:00\",\"dateModified\":\"2021-06-08T08:24:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/\"},\"wordCount\":150,\"commentCount\":0,\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/\",\"url\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/\",\"name\":\"How to add ZipArchive to your cPanel\\\/WHM site? Fatal error: class 'ziparchive' not found - Developer Hack\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/#website\"},\"datePublished\":\"2021-06-08T07:54:48+00:00\",\"dateModified\":\"2021-06-08T08:24:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/#\\\/schema\\\/person\\\/01df012e94dd976ac49e50cdbf0e38d6\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add ZipArchive to your cPanel\\\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/#website\",\"url\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/\",\"name\":\"Developer Hack\",\"description\":\"Hacks, tips, tricks and best practices for developers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/#\\\/schema\\\/person\\\/01df012e94dd976ac49e50cdbf0e38d6\",\"name\":\"Bad Joe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b54d3bed829ff130da6aac31c730d5d4c6276a2c0f03c5afa5e083c5c6ca2c4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b54d3bed829ff130da6aac31c730d5d4c6276a2c0f03c5afa5e083c5c6ca2c4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b54d3bed829ff130da6aac31c730d5d4c6276a2c0f03c5afa5e083c5c6ca2c4?s=96&d=mm&r=g\",\"caption\":\"Bad Joe\"},\"url\":\"https:\\\/\\\/apps.badjoerichards.com\\\/apps\\\/developerhack\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class 'ziparchive' not found - Developer Hack","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:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/","og_locale":"en_US","og_type":"article","og_title":"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class 'ziparchive' not found - Developer Hack","og_description":"Last updated: 20210608 If you are using WHM, install PHP 7.4 or higher &#8211; as PHP 7.2\/7.3 on WHM, will not work with below settings\/methods. https:\/\/support.cpanel.net\/hc\/en-us\/articles\/360061185574-Call-to-undefined-method-ZipArchive-setEncryptionName- &nbsp; &#8212; &nbsp; After installing PHP 7.4, continue with: &nbsp; If you have WHM available it is easier. Log in to\u00a0WHM. Go to\u00a0EasyApache\u00a04 (or whatever version u have) under\u00a0Software\u00a0tab. &hellip; Continue reading \"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found\"","og_url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/","og_site_name":"Developer Hack","article_published_time":"2021-06-08T07:54:48+00:00","article_modified_time":"2021-06-08T08:24:16+00:00","author":"Bad Joe","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bad Joe","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/#article","isPartOf":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/"},"author":{"name":"Bad Joe","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6"},"headline":"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found","datePublished":"2021-06-08T07:54:48+00:00","dateModified":"2021-06-08T08:24:16+00:00","mainEntityOfPage":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/"},"wordCount":150,"commentCount":0,"articleSection":["PHP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/","url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/","name":"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class 'ziparchive' not found - Developer Hack","isPartOf":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website"},"datePublished":"2021-06-08T07:54:48+00:00","dateModified":"2021-06-08T08:24:16+00:00","author":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6"},"breadcrumb":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-add-ziparchive-to-your-cpanel-whm-site-fatal-error-class-ziparchive-not-found\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/"},{"@type":"ListItem","position":2,"name":"How to add ZipArchive to your cPanel\/WHM site? Fatal error: class &#8216;ziparchive&#8217; not found"}]},{"@type":"WebSite","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website","url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/","name":"Developer Hack","description":"Hacks, tips, tricks and best practices for developers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6","name":"Bad Joe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2b54d3bed829ff130da6aac31c730d5d4c6276a2c0f03c5afa5e083c5c6ca2c4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b54d3bed829ff130da6aac31c730d5d4c6276a2c0f03c5afa5e083c5c6ca2c4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b54d3bed829ff130da6aac31c730d5d4c6276a2c0f03c5afa5e083c5c6ca2c4?s=96&d=mm&r=g","caption":"Bad Joe"},"url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/comments?post=393"}],"version-history":[{"count":6,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/393\/revisions"}],"predecessor-version":[{"id":399,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/393\/revisions\/399"}],"wp:attachment":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/media?parent=393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/categories?post=393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/tags?post=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}