Skip to content

Commit

Permalink
minor #5029 Finish #4370: add a note about apc for php recent version…
Browse files Browse the repository at this point in the history
…s (ip512, WouterJ)

This PR was merged into the 2.3 branch.

Discussion
----------

Finish #4370: add a note about apc for php recent versions

Finishes #4370

Original description:

 > apc is not required for php5.5+, I suggest to mention it to avoid people trying to install it on recent php versions

| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | all
| fixed tickets | -

Commits
-------

95d09e9 Minor rewording
bab2a29 add a note about apc for php recent versions
  • Loading branch information
weaverryan committed Mar 14, 2015
2 parents ccabc95 + 95d09e9 commit 93387bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions book/performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ Use a Byte Code Cache (e.g. APC)
One of the best (and easiest) things that you should do to improve your performance
is to use a "byte code cache". The idea of a byte code cache is to remove
the need to constantly recompile the PHP source code. There are a number of
`byte code caches`_ available, some of which are open source. The most widely
used byte code cache is probably `APC`_
`byte code caches`_ available, some of which are open source. As of PHP 5.5,
PHP comes with `OPcache`_ built-in. For older versions, the most widely used
byte code cache is probably `APC`_

Using a byte code cache really has no downside, and Symfony has been architected
to perform really well in this type of environment.
Expand Down Expand Up @@ -139,6 +140,7 @@ feature is disabled in the byte code cache (e.g. ``apc.stat=0`` in APC), there
is no longer a reason to use a bootstrap file.

.. _`byte code caches`: http://en.wikipedia.org/wiki/List_of_PHP_accelerators
.. _`OPcache`: http://php.net/manual/en/book.opcache.php
.. _`APC`: http://php.net/manual/en/book.apc.php
.. _`autoload.php`: https://github.com/symfony/symfony-standard/blob/master/app/autoload.php
.. _`bootstrap file`: https://github.com/sensio/SensioDistributionBundle/blob/master/Composer/ScriptHandler.php

0 comments on commit 93387bf

Please sign in to comment.