Using Windows compiled eaccelerator for PHP 5.1.6 to implement PHP acceleration _php instance

Source: Internet
Author: User
Official address: http://www.arnot.info/eaccelerator/
Choose to download the eaccelerator that corresponds to your system and PHP version

2. Rename it to Eaccelerator.dll (win version) and move to the Ext folder in your PHP directory

3. Create cache folder in C:\php\ the user group can read and write the temp Modify permission

3. Depending on your system, PHP is generally extended ISAPI
Open php.ini file, find Extension=php_zip.dll, add below

zend_extension_ts= "C:\php\ext\eaccelerator.dll"//path depending on your system, the file name extension is also
Eaccelerator.shm_size= "64"//According to your system memory, default 16M, can be changed to 64M
Eaccelerator.cache_dir= "C:\php\temp"//manually created, such as C:\php\temp, to ensure that his permissions are read-write and do not move the directory later
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 It's like C:\windows\.

┌──────┐
│ Fast Start │ judgment
└──────┘

Before you restart IIS, the PHP information only shows Zend ...
 php Information Display  zend.......with eAccelerator  description after loading Eaccelerator.dll success

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.