# PHP

PHP runtime with FPM pools per app. Versions are derived from apps.

Host vars:
```yaml
php:
  enable: true            # optional, default true when php is defined
  extra_packages:         # optional
    - gd
    - intl
  opcache_memory_consumption: 512M    # optional
  opcache_interned_strings_buffer: 20 # optional
  opcache_max_accelerated_files: 20000 # optional
  opcache_revalidate_freq: 60         # optional
  opcache_enable_file_override: 1     # optional
```

Defaults:
- `php.enable`: true (when `php` is defined)
- `php.extra_packages`: []
- `php.opcache_memory_consumption`: `512M`
- `php.opcache_interned_strings_buffer`: `20`
- `php.opcache_max_accelerated_files`: `20000`
- `php.opcache_revalidate_freq`: `60`
- `php.opcache_enable_file_override`: `1`
