{"id":171,"date":"2021-12-29T12:58:49","date_gmt":"2021-12-29T04:58:49","guid":{"rendered":"https:\/\/idez.biz\/?p=171"},"modified":"2021-12-29T12:58:50","modified_gmt":"2021-12-29T04:58:50","slug":"unable-to-load-dynamic-library-zip-so-after-upgrading-to-php-7-4-from-php-7-2","status":"publish","type":"post","link":"https:\/\/idez.biz\/index.php\/unable-to-load-dynamic-library-zip-so-after-upgrading-to-php-7-4-from-php-7-2\/","title":{"rendered":"Unable to load dynamic library zip.so after upgrading to php 7.4 from php 7.2"},"content":{"rendered":"\n<p>After upgrading to PHP 7.4, there could be errors like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"202\" data-attachment-id=\"183\" data-permalink=\"https:\/\/idez.biz\/index.php\/unable-to-load-dynamic-library-zip-so-after-upgrading-to-php-7-4-from-php-7-2\/image-7-3\/#main\" data-orig-file=\"https:\/\/idez.biz\/wp-content\/uploads\/2021\/12\/image-7.png\" data-orig-size=\"981,202\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-7\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/idez.biz\/wp-content\/uploads\/2021\/12\/image-7-300x62.png\" data-large-file=\"https:\/\/idez.biz\/wp-content\/uploads\/2021\/12\/image-7.png\" src=\"https:\/\/idez.biz\/wp-content\/uploads\/2021\/12\/image-7.png\" alt=\"\" class=\"wp-image-183\" srcset=\"https:\/\/idez.biz\/wp-content\/uploads\/2021\/12\/image-7.png 981w, https:\/\/idez.biz\/wp-content\/uploads\/2021\/12\/image-7-300x62.png 300w, https:\/\/idez.biz\/wp-content\/uploads\/2021\/12\/image-7-768x158.png 768w\" sizes=\"auto, (max-width: 981px) 100vw, 981px\" \/><figcaption>The reason for this is that the libzip version needs to be >= 1.6, so upgrading libzip to the latest version will help to resolve this issue.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>After upgrading to PHP 7.4, there could be errors like this:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[59],"tags":[63,62],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-php","tag-libzip","tag-php-7-4"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[],"jetpack_shortlink":"https:\/\/wp.me\/pcj45d-2L","_links":{"self":[{"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":2,"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":184,"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/posts\/171\/revisions\/184"}],"wp:attachment":[{"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idez.biz\/index.php\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}