|
What is ZLib?
Zlib is designed to be a free, lossless data-compression library for use on virtually any computer hardware and operating system. ZLIB is used as PHP's main compression library and is used to compress your PHP pages by up to 1/3 of their size.
Codelock uses ZLIB as a compression option, but it also uses ZLIB to disguise its encryption algorithm. In other words, if you use the ZLIB compression option, Codelock will also use ZLIB to make your scripts even MORE secure.
More info:
You can get more information at http://www.gzip.org/zlib/
How to check for ZLib:
To check if your system has ZLIB, create a PHP page with the following line:
phpinfo();
Upload your phpinfo page to your server and run it. To check, scroll through the information and look for ZLIB. It should have its own listing with the words: ZLib Support = enabled
How to install ZLib:
WINDOWS
If you have PHP 4.3.0 or better, ZLIB is automatically built in. If you have a lower version of PHP, then it is easier to upgrade the PHP rather than trying to configure the ZLIB Module. You can get the latest version of PHP here: www.php.net
LINUX
First, you need to download zlib from http://prdownloads.sourceforge.net/libpng/zlib-1.1.4.tar.gz
Once downloaded, place it in the /usr/local/src directory on your server.
From the shell prompt type:
# cd /usr/local/src
# tar xfz zlib.tar.gz
# cd zlib-1.1.4
# ./configure –-prefix=/usr/local/zlib
# make
# make install
Conclusion:
Once ZLIB is installed, you will be able to use ALL of Codelock's options. Though ZLIB is not essential, it is recommended.
For more specific support email: support@codelock.co.nz |