Home  >  Article  >  Backend Development  >  How to use eAccelerator for PHP 5.1.6 compiled under Windows to achieve PHP acceleration_PHP tutorial

How to use eAccelerator for PHP 5.1.6 compiled under Windows to achieve PHP acceleration_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:54:55793browse

Official address: http://www.arnot.info/eaccelerator/
Choose to download the eAccelerator corresponding to your system and PHP version

2. Rename it to eaccelerator.dll (win version) and then Move to the ext folder in your php directory

3. Create a cache folder temp in c:php and modify the permissions to be readable and writable by the user group

3. According to the situation of your system , usually PHP extension ISAPI
Open the php.ini file, find extension=php_zip.dll, add below

zend_extension_ts="C:phpexteaccelerator.dll" //The path depends on your system Definitely, the file extension is also
eaccelerator.shm_size="64" //Depending on your system memory, the default is 16M, which can be changed to 64M
eaccelerator.cache_dir="C:phptemp" //Manually created, for example C:phptemp, make sure its permissions are read and write, and do not touch this directory in the future
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"

Put the modified php.ini into your php configuration directory 2003 seems to be Yes c:windows

┌──────┐
│Judge accelerated startup│
└──────┘

Before restarting iis, php The information only displays zend...
After loading eaccelerator.dll, the php information displays zend....with eAccelerator indicating that the loading is successful.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318411.htmlTechArticleOfficial address: http://www.arnot.info/eaccelerator/ Choose to download the system and PHP version that corresponds to yours eAccelerator 2. Rename it to eaccelerator.dll (win version) and then move it to your php directory...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn