PHP Cache Accelerator Software types
XCache
Eaccelerator
Zend
Apc
Eaccelerator features cache, acceleration, optimization
Set character sets
echo ' Export lc_all=c ' >>/etc/profile
Source/etc/profile
Installing Perl-related software
Yum-y Install Perl-devel
Installing the PHP eaccelerator Cache accelerator Module
1. Download Eaccelerator Package
2. Decompression
3. Go to unzip directory
4, the implementation of phpize, generally in the PHP directory php/bin/phpize
5. Compilation parameters
./configure--enable-eaccelerator=shared--with-php-config=/usr/local/php/bin/php-config
Make
Make install
6. See if the compilation was successful
ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/
#显示如下, on behalf of successful compilation
Eaccelerator.so
Installing Perl-related software
Yum-y Install Perl-devel
Installing the PHP XCache Cache accelerator Module
1. Download Eaccelerator Package
2. Decompression
3. Go to unzip directory
4, the implementation of phpize, generally in the PHP directory php/bin/phpize
5. Compilation parameters
./configure--enable-xcache--with-php-config=/usr/local/php/bin/php-config
Make
Make install
6. See if the compilation was successful
ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/
#显示如下, on behalf of successful compilation
Xcache.so
Database Memcahe high-performance distributed memory Object cache system
Memcache is divided into server-side software (such as memcached-2.2.5.tar.gz) and client software (memcache-2.2.5.tar.gz)
Install the client now (memcache-2.2.5.tar.gz)
1. Download software
2, unzip, enter the software directory
3, the implementation of Phppize
4. Compiling
./configure--with-php-config=/usrl/local/php/bin/php-config
Make
Make install
5. See if the compilation was successful
ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/
#显示如下, on behalf of successful compilation
Memcache.so
The Pdo_mysql extension module defines a lightweight, consistent interface for PHP access to the database, and provides a data access abstraction layer
1. Download the package
2, unzip, enter the software directory
3, the implementation of Phppize
4. Compiling
./configure--with-php-config=/usr/local/php/bin/php-config--with-pdo-mysql=/usrl/local/mysql
Make
Make install
5. See if the compilation was successful
ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/
#显示如下, on behalf of successful compilation
Pdo-mysql.so
This article is from the "topspeed_king" blog, make sure to keep this source http://mylinuxlife.blog.51cto.com/4706737/1682434
Install the PHP accelerated cache