Windows PHP 5.2.17 Installation Eaccelerator Method _php Tutorial

Source: Internet
Author: User
Eaccelerator is an open source PHP accelerator, optimization and dynamic content cache, improve the caching performance of PHP script, so that PHP script in the state of compilation, the cost of the server is almost completely eliminated, let me give you students to introduce PHP 5.2.17 installation Eaccelerator method

There is a non-thread-safe and thread-safe version in this package. Eaccelerator_ts.dll is a thread-safe version, Eaccelerator_nts.dll is a non-thread-safe version. The eaccelerator is compiled using the latest published PHP 5.2.17, please confirm your PHP version before use. The file contains thread safe (thread safe) and non thread safe (non-thread-safe version), depending on the version of PHP you use.

First, related download

Eaccelerator 0.9.6.1 for PHP5.2.17 (DLL)

Second, installation method


1. Select the appropriate version


Depending on your PHP thread-safe version, select the appropriate file and copy it to the subdirectory ext in the PHP directory, and change the name to Php_eaccelerator.dll.

2, set the corresponding parameters


[Eaccelerator]
Zend_extension_ts= "D:/php5/ext/php_eaccelerator.dll"
Eaccelerator.shm_size= "64"
Eaccelerator.cache_dir= "D:/php5/tmp"
eaccelerator.enable= "1"
Eaccelerator.optimizer= "1"
Eaccelerator.check_mtime= "1"
eaccelerator.debug= "0"
Eaccelerator.filter= ""
eaccelerator.shm_max= "0"
Eaccelerator.shm_ttl= "0"
eaccelerator.shm_prune_period= "0"
eaccelerator.shm_only= "0"
eaccelerator.compress= "1"
Eaccelerator.compress_level= "9"
Eaccelerator.keys = "SHM"
Eaccelerator.sessions = "SHM"
Eaccelerator.content = "SHM"

Please edit the C:windowsphp.ini file (as appropriate), copy the above parameters to the bottom of php.ini, and modify the following path.

zend_extension_ts= "D:/php5/ext/php_eaccelerator.dll" #您的PHP路径
Eaccelerator.cache_dir= "D:/php5/tmp" #您的PHP临时文件路径 (user readable and writable)

3. Save and restart IIS


Execute in cmd: IISRESET, restart IIS, and use Phpinfo to view, if prompted, to indicate that the installation was successful.

http://www.bkjia.com/PHPjc/629827.html www.bkjia.com true http://www.bkjia.com/PHPjc/629827.html techarticle Eaccelerator is an open source PHP accelerator, optimized and dynamic content caching, improve the caching performance of PHP script, so that PHP script in the state of compilation, the cost of the server almost completely eliminated ...

  • Related Article

    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.