Accelerator Directives

Directive

Mode

Reload

Description

zend_accelerator.max_wasted_percentage

ZEND_INI_SYSTEM

Yes

Max percentage of "wasted" memory until restart is scheduled

zend_accelerator.max_warmup_hits

ZEND_INI_SYSTEM

Yes

How many hits are considered 'warmup' (for statistics)

zend_accelerator.consistency_checks

ZEND_INI_ALL

Yes

Check cache's checksum each N requests

zend_accelerator.force_restart_timeout

ZEND_INI_SYSTEM

Yes

Time to wait for cache being unused when restart is scheduled (seconds)

zend_accelerator.perform_timings

ZEND_INI_ALL

Yes

Collect performance statistics

zend_accelerator.validate_timestamps

ZEND_INI_ALL

Yes

Check file timestamps

zend_accelerator.revalidate_freq

ZEND_INI_ALL

Yes

How often to check file timestamps on Windows (seconds)

zend_accelerator.user_blacklist_filename

ZEND_INI_SYSTEM

Yes*

Path for a file that contains a list of files not to accelerate

zend_accelerator.compress_all

ZEND_INI_PERDIR

No  

Enable compression for accelerated files

zend_accelerator.enabled

ZEND_INI_SYSTEM

No  

Enable acceleration

zend_accelerator.max_accelerated_files

ZEND_INI_SYSTEM

No  

Maximum number of keys (scripts) in accelerator hash table

zend_accelerator.mmap_base_file

ZEND_INI_SYSTEM

No  

Windows: location of mmap address file

zend_accelerator.httpd_uid

ZEND_INI_SYSTEM

No  

UID of httpd process

zend_accelerator.memory_consumption

ZEND_INI_SYSTEM

No  

Accelerator shared memory block size (Mbytes)

zend_accelerator.allow_noshm

ZEND_INI_SYSTEM

No  

Allow running in "no shared memory mode" (cgi, cli)

zend_accelerator.use_cwd

ZEND_INI_SYSTEM

No

Use current directory as a part of script key

zend_accelerator.preferred_memory_model

ZEND_INI_SYSTEM

No

Shared memory model to use

zend_accelerator.dups_fix

ZEND_INI_ALL

Yes

Use hack to prevent "duplicate definition" errors

zend_accelerator.cgi_base_shm_address

 

ZEND_INI_SYSTEM

 

No  

The base address for the CGI/CLI shared memory block

 

 

 

Related Links

Related Links:
Code Acceleration