Windows PHP 5.2.17 Installation Eaccelerator method

Source: Internet
Author: User

There are non thread safe and thread safe versions in this package. Eaccelerator_ts.dll is a thread-safe version, and 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. Files contain thread safe (thread safety) and non thread safe (non-threaded versions), depending on the version of PHP you are using.

First, related downloads

Eaccelerator 0.9.6.1 for PHP5.2.17 (DLL)

Second, the installation method


1, select the appropriate version


According to your PHP thread safe version, select the appropriate file and copy it to the subdirectory in the PHP directory ext, and rename it 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 (according to the actual situation), 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临时文件路径 (to have user read-write permission)

3, Save, restart IIS


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

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.