Home  >  Article  >  Backend Development  >  eAccelerator dll that implements PHP acceleration supports file packaging and downloading

eAccelerator dll that implements PHP acceleration supports file packaging and downloading

高洛峰
高洛峰Original
2017-01-06 14:35:251076browse

Choose to download the eAccelerator corresponding to your system and PHP version

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

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

3. Depending on the situation of your system, it is usually PHP extension ISAPI
Open php. ini file, find extension=php_zip.dll, add below

zend_extension_ts="C:\php\ext\eaccelerator.dll" //The path depends on your system, and 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:\php\temp" //Manually created, such as C:\php\ temp, 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"

For more eAccelerator dll that implements PHP acceleration, support file packaging and download related articles, please pay attention to PHP Chinese net!

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