In general, we have a lot of data transmission mechanisms to reduce the bandwidth pressure on the server. We will adopt a method to compress file transmission. in php, zlib can also achieve gzip compression output, the following is a summary of GZIP
After downloading Curl 7.37, there are various versions vs corresponding project files in project, we choose the appropriate open can compile, according to the different project configuration output the desired library, such as can switch a variety
Ubuntu12 loaded zlib extensions for php. after being installed, I found that zlib extensions were missing and I had to find more information. in this article, I found ubuntu 12 loaded zlib extensions for php.
I compiled php for half a day today.
Use zlib library for Data Compression
Zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on usually ally any computer hardware and operating system.
In general, we have a large number of data transmission manager want to reduce the bandwidth of the server pressure, will take a way to compress file transfer, PHP with Zlib can also achieve gzip compression output, below we look at the gzip
Pipeline [root @ Ansenzlib] # pwdrootlnmpphp-5.3.0extzli ubuntu 12 load zlib extension for php
I compiled php for half a day today. after installing it, I found that zlib extensions were missing, so I had to find more information. I found it in this
GZIP (Gnu-zip) is a compression technique. The page size can be turned into 30% or smaller after gzip compression. This way the user will feel very happy when browsing!
Preparatory work
1, can not find the Php_zlib.dll file?
Since the php4.3
Ubuntu 12 load zlib extension for PHP
Today compiled a half-day PHP, installed after the discovery of less zlib extension, had to find information, in this article found
Http://www.ansen.org/add-extension-library-for-php.html
[Email protected] zlib]
Ubuntu 12 load zlib extension for PHP
Today compiled a half-day PHP, installed after the discovery of less zlib extension, had to find information, in this article found
Http://www.ansen.org/add-extension-library-for-php.html
[Root@ansen zlib]# pwd/
Reprint please indicate the source: The Curtain Roll westerly column (Http://blog.csdn.net/ljxfblog)The Zlib library is a powerful, general-purpose, open-source compression library that is widely used and can be easily compiled or compiled into
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.