ansible-role-php/vars/Debian.yml
Pieter Frenssen 73c526d073 Install the JSON extension on Debian for PHP 7.4 and below.
Starting with PHP 8.0 the JSON extension is part of the base package and cannot
be installed separately.

Fixes #358
2023-04-19 23:30:39 +03:00

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