CyberKeeda In Social Media

PHP How to install, configure and enable ZIP Extension from source code within centos / rhel 6



So Enabling ZIP within PHP 5.6 dose not meet with the common approach of enabling a extension, Since it requires the libzip packages with a greater version of 0.11 or more.

RHEL ships libzip greater then 0.9 with RHEL 7.3 or more, hence the approach for enabling this must be slight different.


To avoid these challenges, we must go the way of installation of modules using PECL

Download Packages as required from --  http://pecl.php.net/package/zip

Here I have downloaded     zip-1.11.0.tgz

Now just execute the below mentioned PECL command.

# pecl install zip-1.11.0.tgz

# pecl uninstall XXXX

Though it will guide it to rest of the work but still I too want to add.

Locate your php.ini file and the

You should add "extension=zip.so" to php.ini

Once you are done, remember to reload/restart apache to apply the effect / changes.

Verify -: You should see, something like below within your phpinfo.php page






8 comments:

  1. I have utilized a great deal of juicers previously and I made this blog to help juice darlings settle on the correct choice in picking the kind of juicer that best fit their needs. There are a few decent chewing juicers to look over. SuperSU ZIP

    ReplyDelete
  2. I made a website for download right tools to remove frp lock and root android devices easily. Root Samsung

    ReplyDelete
  3. Well you can download latest version of and FRP Tools from the official site: FRP Bypass Tool.

    ReplyDelete
  4. When I need to convert documents from one format to another, I use an online converter https://anyconv.com/ anyconv.com

    ReplyDelete
  5. Flip converter Mac can streamline the Flip video for normal sight and sound gadgets like ipod(ipod contact, ipod exemplary, ipod nano), iPhone,FLV to MP4 video converter

    ReplyDelete
  6. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. etcher download

    ReplyDelete
  7. Thank you for the good article, If you are creating hardware then we have hardware called latest motherboard it will provide you for Ryzen 7 3700X, it provides comprehensive cooling with a Fan Xpert, VRM heatsink, PCH heatsink, and hybrid Fan headers.

    ReplyDelete

Designed By Jackuna