mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-30 13:03:26 +01:00
38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
---
|
|
__php_packages:
|
|
- php{{ php_default_version_debian }}-common
|
|
- php{{ php_default_version_debian }}-cli
|
|
- php{{ php_default_version_debian }}-dev
|
|
- php{{ php_default_version_debian }}-fpm
|
|
- libpcre3-dev
|
|
- php{{ php_default_version_debian }}-gd
|
|
- php{{ php_default_version_debian }}-curl
|
|
- php{{ php_default_version_debian }}-imap
|
|
- php{{ php_default_version_debian }}-json
|
|
- php{{ php_default_version_debian }}-opcache
|
|
- php{{ php_default_version_debian }}-xml
|
|
- php{{ php_default_version_debian }}-mbstring
|
|
- php-sqlite3
|
|
- php-apcu
|
|
__php_webserver_daemon: "apache2"
|
|
|
|
# Vendor-specific configuration paths on Debian/Ubuntu make my brain asplode.
|
|
__php_conf_paths:
|
|
- /etc/php/{{ php_default_version_debian }}/fpm
|
|
- /etc/php/{{ php_default_version_debian }}/apache2
|
|
- /etc/php/{{ php_default_version_debian }}/cli
|
|
|
|
__php_extension_conf_paths:
|
|
- /etc/php/{{ php_default_version_debian }}/fpm/conf.d
|
|
- /etc/php/{{ php_default_version_debian }}/apache2/conf.d
|
|
- /etc/php/{{ php_default_version_debian }}/cli/conf.d
|
|
|
|
__php_apc_conf_filename: 20-apcu.ini
|
|
__php_opcache_conf_filename: 10-opcache.ini
|
|
__php_fpm_daemon: php{{ php_default_version_debian }}-fpm
|
|
__php_fpm_conf_path: "/etc/php/{{ php_default_version_debian }}/fpm"
|
|
__php_fpm_pool_conf_path: "{{ __php_fpm_conf_path }}/pool.d/www.conf"
|
|
|
|
__php_fpm_pool_user: www-data
|
|
__php_fpm_pool_group: www-data
|