{"id":81,"date":"2017-02-01T13:35:39","date_gmt":"2017-02-01T15:35:39","guid":{"rendered":"http:\/\/hackerzone.com.br\/blog\/?p=81"},"modified":"2017-02-02T09:43:12","modified_gmt":"2017-02-02T11:43:12","slug":"instalando-ziparchive-no-fedora-server-23","status":"publish","type":"post","link":"http:\/\/hackerzone.com.br\/blog\/instalando-ziparchive-no-fedora-server-23\/","title":{"rendered":"Instalando ZipArchive no Fedora Server 23"},"content":{"rendered":"<p>Depois de algumas pesquisas e tentativas eu finalmente consegui instalar o m\u00f3dulo do ZipArchive no Fedora, eu estava tentando utilizar a classe PHPExcel e precisei utilizar este m\u00f3dulo.<\/p>\n<p>Eu fui passando por algumas tentativas, segue a sequ\u00eancia&#8230;<\/p>\n<p>Primeiramente tente apenas isso:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ndnf groupinstall -y &quot;Development Tools&quot;\r\npecl install zip\r\n<\/pre>\n<p>A dica importante \u00e9 reiniciar o apache ap\u00f3s qualquer tentativa de instala\u00e7\u00e3o<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nsystemctl restart httpd.service\r\n<\/pre>\n<p>Caso n\u00e3o funcione tente o seguinte:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ndnf install php-pear\r\ndnf install -y php-devel\r\ndnf install -y rpm-build\r\ndnf groupinstall -y &quot;Development Tools&quot;\r\ndnf install php-pecl-zip\r\ninstall zlib-devel \r\ndnf install php-pecl-zip\r\npecl install zip\r\nrpm -ql zlib\r\n<\/pre>\n<p>Reinicie o apache&#8230;<\/p>\n<p><strong>Observa\u00e7\u00e3o:<\/strong> Eu acredito que a instala\u00e7\u00e3o do Development Tools j\u00e1 vai solucionar o problema, pois j\u00e1 tr\u00e1s muitos recursos, mas como eu realizei algumas instala\u00e7\u00f5es anteriormente, achei importante adicionar aqui tamb\u00e9m.<\/p>\n<p>Veja algumas dicas neste site:<br \/>\n<a href=\"http:\/\/unix.stackexchange.com\/questions\/114821\/depsolving-for-php-pecl-zip\">http:\/\/unix.stackexchange.com\/questions\/114821\/depsolving-for-php-pecl-zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Depois de algumas pesquisas e tentativas eu finalmente consegui instalar o m\u00f3dulo do ZipArchive no Fedora, eu estava tentando utilizar a classe PHPExcel e precisei utilizar este m\u00f3dulo. Eu fui passando por algumas tentativas, segue a sequ\u00eancia&#8230; Primeiramente tente apenas isso: A dica importante \u00e9 reiniciar o apache ap\u00f3s qualquer tentativa de instala\u00e7\u00e3o Caso n\u00e3o [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2,12,21],"tags":[5,7,23,15,22],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-fedora","category-linux","category-php","category-phpexcel","tag-fedora-23","tag-linux","tag-modulo-zip","tag-php","tag-phpexcel","cat-3-id","cat-2-id","cat-12-id","cat-21-id"],"_links":{"self":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":5,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":84,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/81\/revisions\/84"}],"wp:attachment":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}