eaccelerator.shm_size="32"
The amount of shared memory (in megabytes) that eAccelerator can use. "0" refers to the default value of the operating system. The default value is "0". Adjust according to the actual situation of the server, 16, 32, 64, and 128 are all acceptable.
eaccelerator.cache_dir="/home/php/tmp"
This directory is used for disk caching. eAccelerator stores precompiled code, process data, content and User-defined content. The same data can also be stored in shared memory (which improves access speed). The default setting is "/tmp/eaccelerator".
eaccelerator.enable=" 1"
Turn on or off eAccelerator. "1" is on, "0" is off. The default value is "1".
eaccelerator.optimizer="1"
Enable or disable the internal optimizer to improve code execution speed. "1" is on, "0" is off. The default value is "1".
eaccelerator.check_mtime="1"
Turn on or off PHP's file modification check. "1" means on, "0" means off. If you modify it after To recompile PHP files, you should set this to "1". The default value is "1".
eaccelerator.debug="0"
Turn debug logging on or off . "1" is on, "0" is off. The default value is "0". Records of cache hits will be written to the log.
eaccelerator.filter=""
Determine which PHP files must be cached. You can specify cached and non-cacheable file types (such as "*.php *.phtml", etc.)
If the parameters start with "!", files matching these parameters are ignored from the cache. The default value is "", i.e. all PHP files will be cached.
eaccelerator.shm_max="0"
When using the " eaccelerator_put() " function, it is prohibited to store files that are too large into shared memory. This parameter specifies the maximum value allowed for storage, in bytes (10240, 10K, 1M). "0" means no limit. The default value is "0".
eaccelerator.shm_ttl="0"
When eAccelerator fails to get the shared memory size for a new script, it will remove from shared memory all files that were not in the last "shm_ttl" seconds Access script cache. The default value is "0", which means no cached files are deleted from the share.
eaccelerator.shm_prune_period="0"
When eAccelerator fails to get the shared memory size for a new script, it will try to delete caches from shared memory that are older than "shm_prune_period" seconds script. The default value is "0", which means no cached files are deleted from the share.
eaccelerator.shm_only="0"
Enable or disable caching of compiled scripts on disk. This option has no effect on session data and content caching. The default value is "0", which means: use disk and shared memory for caching.
eaccelerator.compress="1"
Enable or disable caching of compressed content. The default value is "1", which means compression is allowed.
eaccelerator.compress_level="9"
Specifies the compression level for content caching. The default value is "9", the highest level.
eaccelerator.keys = "disk_only"
eaccelerator.session = "disk_only"
eaccelerator.content = "disk_only"
Set the storage location of the content cache, which can be set to:
shm_and_disk in shared cache and hard disk (default value)
shm exists in shared memory by default. If the shared memory is full or the size exceeds the value of "eaccelerator.shm_max", it will be stored in the hard disk
shm_only is only stored in shared memory
disk_only only stored in the hard disk
none does not cache data
eaccelerator.allowed_admin_path = "/var/www/html/21andy.com/eaccelerator"
This is the address of the control panel
There is control.php in the installation package. You can copy it to any directory on the website and use it to view and manage. This must be specified, otherwise an error will occur when viewing cached content
Finally, take a look at me eAccelerator settings