Ubuntu Installation Php-zip Extension

Source: Internet
Author: User
Tags zip extension

First you need to determine if there is no installation php_pcre:

Apt-get Update

Apt-get Install Libpcre3 Libpcre3-dev

Then determine if there is no installation of zlib, and the version must not be too old (I was installed 1.2.11 to succeed), no words:

Curl-o http://www.zlib.net/zlib-1.2.11.tar.gz

Tar Xvfz zlib-1.2.11.tar.gz

./configure

sudo make && sudo make install


Then determine if there are no installation libzip, no words:

wget https://nih.at/libzip/libzip-1.2.0.tar.gz
TAR-ZXVF libzip-1.2.0.tar.gz
CD libzip-1.2.0
./configure
Make
Make install

When the final installation of php_zip, I loaded 1.10.2 error, to install 1.12.4


Keng....


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.