From 9edf658f9c5eba35e49b32789ae4e03ed60021a4 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 20 Aug 2015 11:56:47 -0500 Subject: [PATCH] PR #51: Add documentation for newly-configurable filename variables. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e27c286..48c3e83 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,10 @@ When installing Opcache, depending on the system and whether running PHP as a we OpCache ini directives that are often customized on a system. Make sure you have enough memory and file slots allocated in the OpCache (`php_opcache_memory_consumption`, in MB, and `php_opcache_max_accelerated_files`) to contain all the PHP code you are running. If not, you may get less-than-optimal performance! + php_opcache_conf_filename: [platform-specific] + +The platform-specific opcache configuration filename. Generally the default should work, but in some cases, you may need to override the filename. + ### APC-related Variables php_enable_apc: true @@ -104,6 +108,10 @@ When installing APC, depending on the system and whether running PHP as a webser APC ini directives that are often customized on a system. Set `php_apc_cache_by_default` to 0 to disable APC by default (so you could just enable it for one codebase if you have a *lot* of code on a server). Set the `php_apc_shm_size` so it will hold all your application code in memory with a little overhead (fragmentation or APC running out of memory will slow down PHP *dramatically*). + php_apc_conf_filename: [platform-specific] + +The platform-specific APC configuration filename. Generally the default should work, but in some cases, you may need to override the filename. + #### Ensuring APC is installed If you use APC, you will need to make sure APC is installed (it is installed by default, but if you customize the `php_packages` list, you need to include APC in the list):