mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-10-31 08:28:54 +01:00
73c526d073
Starting with PHP 8.0 the JSON extension is part of the base package and cannot be installed separately. Fixes #358
39 lines
1.4 KiB
YAML
39 lines
1.4 KiB
YAML
---
|
|
__php_default_version_debian: "7.0"
|
|
__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 }}-opcache
|
|
- php{{ php_default_version_debian }}-xml
|
|
- php{{ php_default_version_debian }}-mbstring
|
|
- php{{ php_default_version_debian }}-apcu
|
|
- php{{ php_default_version_debian }}-sqlite3
|
|
|
|
__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
|