ArticleslgStudy

computer science

List of PHP accelerators

List of PHP accelerators is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand List of PHP accelerators rather than just read about it. In short: This is a list of PHP accelerators. Alternative PHP Cache (APC) Alternative PHP Cache is a free and open (PHP license) framework that caches the output of the PHP bytecode compiler in shared memory, thus reducing parsing and disk I/O overhead for later requests; and a shared memory cache for user data.

Key takeaways

  • List of PHP accelerators belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect List of PHP accelerators to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of List of PHP accelerators from memory before moving on to harder problems.

Reference excerpt

This is a list of PHP accelerators.

Alternative PHP Cache (APC) Alternative PHP Cache is a free and open (PHP license) framework that caches the output of the PHP bytecode compiler in shared memory, thus reducing parsing and disk I/O overhead for later requests; and a shared memory cache for user data. For an application consisting of a large source code base such as Drupal, a 3x increase in page generation speed is possible as a result. It has been used at Facebook and has a mature codebase thanks to numerous contributors, including Facebook itself. APC was originally scheduled for inclusion into the PHP core no later than PHP 6. While multiple accelerator projects were considered desirable, the focus has since moved to Optimizer Plus, and, later, Zend OPcache that is included in the core distribution as of PHP 5.5. Since March 2013, a beta version of APCu (APC User Cache) is available, in which all opcode caching abilities have been removed to support user caches in shared memory using the familiar APC API.

Website: http://pecl.php.net/package/APC PHP version: works with all PHP versions up to PHP 5.4 (3.1.13 - beta release) Latest beta version: 3.1.13 (2012-09-03) Latest stable version: 3.1.9 (2011-05-14) Status: Dormant, potentially dead (no new releases since September 2012), APCu still ongoing. Download link: http://pecl.php.net/package/APC (source code, required for up-to-date compilation) Official installation help: http://php.net/apc.setup and http://php.net/apc.installation (extension must be compiled against the sources of the PHP version it is to be used with; includes instructions for building on Windows)

eAccelerator

eAccelerator was born in December 2004 as a fork of the Turck MMCache project. Turck MMCache was created by Dmitry Stogov and much of the eAccelerator code is still based on his work. eAccelerator also contained a PHP encoder and loader, but the development staff discontinued the encoder and removed this feature after December 2006.

Website: http://eaccelerator.net/ PHP version: Supports PHP 4 and all PHP 5 thread-safe releases including 5.4. In older releases, the encoder will only work with PHP versions from the 4.x.x branch. eAccelerator will not work with any other versions of PHP. eAccelerator can only be used with the thread-safe version of PHP. Latest stable version: 0.9.6.1 (2010-05-31) Status: Dormant, potentially dead (no new releases since July 2012). The last public activity was the transfer to GitHub by Hans Rakers. The master branch supports PHP 5.4. Github repository Download link: (look for latest versions) http://eaccelerator.net/, download page on SourceForge Official installation help: https://eaccelerator.net/wiki/InstallFromSource

ionCube PHP Accelerator Launched in 2001, ionCube PHP Accelerator (PHPA) was the first freely available PHP accelerator to compete with the commercial Zend Cache product. Created before ionCube Ltd. was founded and at a time when the performance of PHP was regarded as lackluster when compared to other popular web programming languages, PHPA showed that PHP can compete with other languages performance-wise. Although the author of PHPA chose to keep the project closed source in response to early concerns raised by Zeev Suraski of Zend Technologies about the effect that an open source rival might have on their commercial alternative, the availability of PHPA on a wide variety of platforms led to its extensive adoption worldwide from small sites to Yahoo!. It also inspired the redevelopment of APC to use the shared memory execution techniques that PHPA and Zend Cache had adopted instead of deserialization on each request that incurred performance penalties.

Website: http://www.php-accelerator.co.uk / http://www.ioncube.com

Turck MMCache Turck MMCache is now discontinued. eAccelerator is a fork of Turck MMCache.

Website: https://turck-mmcache.sourceforge.net/index_old.html

XCache XCache is a PHP opcode cacher that has been tested and deployed on high-load production servers. It is tested on Linux and FreeBSD and supported under Windows, for thread-safe and non-thread-safe versions of PHP. This relatively new opcode caching software has been developed by mOo, one of the developers of Lighttpd, to overcome some of the limitations of the existing solutions at that time; such as being able to use it with new PHP versions as they arrive.

Website: https://web.archive.org/web/20120224193029/http://xcache.lighttpd.net/ PHP version: full support for up to PHP 5.6 Latest stable version: 3.2.0 (released on September 18, 2014) Status: Dormant, potentially dead (no release since 2014) Download link: http://xcache.lighttpd.net/wiki/ReleaseArchive Official installation help: http://xcache.lighttpd.net/wiki/InstallFromSource

Nusphere PhpExpress PhpExpress is a free PHP opcode cache that loads both Nu-Coder (commercial) encoded and plain PHP files directly into the PHP engine, saving loading time and boosting performance of PHP applications. It's available on Windows, Linux, FreeBSD, NetBSD, Mac OS X, and Solaris.

Download link: http://www.nusphere.ru/files/download/NuSphere-PhpExpress-3.0.zip Official installation help: http://www.nusphere.com/kb/phpexpressmanual/part1.htm#2 Website: http://www.nusphere.com/products/phpexpress.htm PHP version: PHP 4.3 to 5.3 Latest stable version: 3.1 Status: Potentially dead (no new releases since Jan 2012 and they are not responding to enquires). The last supported version of PHP was 5.3.

Zend OPcache (ex. Zend Optimizer+) Zend OPcache is an open source component of Zend Server and Zend Server Community Edition bundled with the PHP language itself. Zend OPcache speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. As of version 7.0 it can store precompiled script bytecode on disk. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvements, the stored bytecode is optimized for faster execution. Unlike Zend Optimizer, Zend OPcache doesn't load files encoded by Zend Guard. Zend provides another component, Zend Guard Loader, in order to load encoded applications with Zend Server and Zend Server Community Edition. Zend Optimizer+ was renamed to Zend OPcache mid of March 2013. Starting with PHP 5.5 the Zend OPcache is integrated and shipped with PHP.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with List of PHP accelerators

Start with the simplest possible case. Write down what List of PHP accelerators claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to List of PHP accelerators before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about List of PHP accelerators ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of List of PHP accelerators

In research
List of PHP accelerators appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses List of PHP accelerators in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
List of PHP accelerators is common in secondary-school and first-year university syllabi. It links to neighbouring topics Software programmed in PHP, so understanding it makes those chapters shorter.
In everyday life
Look for List of PHP accelerators outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “List of PHP accelerators” →

How to study List of PHP accelerators in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what List of PHP accelerators means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain List of PHP accelerators out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is List of PHP accelerators in simple terms?

This is a list of PHP accelerators. Alternative PHP Cache (APC) Alternative PHP Cache is a free and open (PHP license) framework that caches the output of the PHP bytecode compiler in shared memory, thus reducing parsing and disk I/O overhead for later requests; and a shared memory cache for user d…

Why does List of PHP accelerators matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study List of PHP accelerators?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on List of PHP accelerators.

Tags

  • Software programmed in PHP

Keep exploring