Install php acceleration cache-php Tutorial

Source: Internet
Author: User
Tags zts install perl
Install php acceleration cache php Cache Acceleration Software

Xcache

Eaccelerator

Zend

Apc



The eaccelerator features caching, acceleration, and optimization.

Set character set

Echo 'export LC_ALL = c'>/etc/profile

Source/etc/profile

Install perl-related software

Yum-y install perl-devel


Install php eaccelerator Cache Acceleration module

1. download the eaccelerator package

2. decompress

3. enter the extract Directory

4. run phpize. php/bin/phpize in the php directory.

5. compile parameters

./Configure -- enable-eaccelerator = shared -- with-php-config =/usr/local/php/bin/php-config

Make

Make install

6. check whether the compilation is successful.

Ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/

# The following is displayed, indicating that the compilation is successful.

Eaccelerator. so


Install perl-related software

Yum-y install perl-devel


Install php xcache Cache Acceleration module

1. download the eaccelerator package

2. decompress

3. enter the extract Directory

4. run phpize. php/bin/phpize in the php directory.

5. compile parameters

./Configure -- enable-xcache -- with-php-config =/usr/local/php/bin/php-config

Make

Make install

6. check whether the compilation is successful.

Ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/

# The following is displayed, indicating that the compilation is successful.

Xcache. so


Database Memcahe high-performance distributed memory object cache system

Memcacheis a service-side software (for example, memcached-2.2.5.tar.gz.pdf and customer-side software (memcache-2.2.5.tar.gz)

Install the client (memcache-2.2.5.tar.gz)

1. Download Software

2. decompress the package and enter the software directory.

3. run phppize.

4. Compile

./Configure -- with-php-config =/usrl/local/php/bin/php-config

Make

Make install

5. check whether the compilation is successful.

Ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/

# The following is displayed, indicating that the compilation is successful.

Memcache. so


The PDO_MYSQL extension module defines a lightweight and consistent interface for php to access the database. It provides a data access abstraction layer.

1. download the software package

2. decompress the package and enter the software directory.

3. run phppize.

4. Compile

./Configure -- with-php-config =/usr/local/php/bin/php-config -- with-pdo-mysql =/usrl/local/mysql

Make

Make install

5. check whether the compilation is successful.

Ls/usrl/local/php/lib/php/extensions/no-debug-non-zts-20090626/

# The following is displayed, indicating that the compilation is successful.

Pdo-mysql.so

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.