SUPPORT THE WORK

GetWiki

PHP accelerator

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
PHP accelerator
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki
{{Use dmy dates|date=April 2012}}{{outdated|date=August 2017|reason=Zend OPcache was integrated into PHP 5.5}}A PHP accelerator is a PHP extension designed to improve the performance of software applications written in the PHP programming language.

Operation

Most PHP accelerators work by caching the compiled opcode/bytecode of PHP representation of php files to avoid the overhead of parsing and compiling source code on each request (some or even most of which may never be executed). To further improve performance, the cached code is stored in shared memory and directly executed from there, minimizing the amount of slow disk reads and memory copying at runtime.

Practical benefits

PHP accelerators substantially increase the speed of PHP applications. Improvements of web page generation throughput by factors of two to seven have been observed.WEB, PHP on Windows: The WinCache 1.0 Benchmark,weblink 2 September 2010, WEB, Benchmarking Drupal with PHP op-code caches: APC, eAccelerator and XCache compared,weblink 2 September 2010, WEB, Performance of Yii,weblink 2 September 2010, The effect on application performance of opcode caching varies widely, depending on factors such as the inherent execution time of the PHP application and the percentage of source code actually executed on a given request, and whether additional optimization steps are performed. While a code optimizer may even slow down overall performance when used in isolation, it can provide an additional performance boost when coupled with a bytecode cache, as the optimization effort is performed just once.

See also

References

{{Reflist}}

External links

{{PHP}}{{software-stub}}

- content above as imported from Wikipedia
- "PHP accelerator" does not exist on GetWiki (yet)
- time: 6:04pm EDT - Sun, Jul 22 2018
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
GETWIKI 19 AUG 2014
GETWIKI 18 AUG 2014
Wikinfo
Culture
CONNECT