mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
e78e5d55f5
cf issue on geerlingguy.php-versions : https://github.com/geerlingguy/ansible-role-php-versions/issues/2
38 lines
843 B
YAML
38 lines
843 B
YAML
---
|
|
__php_packages:
|
|
- php7.0-common
|
|
- php7.0-cli
|
|
- php7.0-dev
|
|
- php7.0-fpm
|
|
- libpcre3-dev
|
|
- php7.0-gd
|
|
- php7.0-curl
|
|
- php7.0-imap
|
|
- php7.0-json
|
|
- php7.0-opcache
|
|
- php7.0-xml
|
|
- php7.0-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/7.0/fpm
|
|
- /etc/php/7.0/apache2
|
|
- /etc/php/7.0/cli
|
|
|
|
__php_extension_conf_paths:
|
|
- /etc/php/7.0/fpm/conf.d
|
|
- /etc/php/7.0/apache2/conf.d
|
|
- /etc/php/7.0/cli/conf.d
|
|
|
|
__php_apc_conf_filename: 20-apcu.ini
|
|
__php_opcache_conf_filename: 10-opcache.ini
|
|
__php_fpm_daemon: php7.0-fpm
|
|
__php_fpm_conf_path: "/etc/php/7.0/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
|