Skip to content

Instantly share code, notes, and snippets.

@VerosK
Last active May 18, 2018 07:10
Show Gist options
  • Save VerosK/03d7fbb3d8a30af2052cc8acc9a822f8 to your computer and use it in GitHub Desktop.
Save VerosK/03d7fbb3d8a30af2052cc8acc9a822f8 to your computer and use it in GitHub Desktop.
Ansible PHP 70
# group_vars/php
php_webserver_daemon: "httpd"
php_opcache_enable: false
php_packages:
- centos-release-scl
- rh-php71-php
- rh-php71-php-fpm
- rh-php71-php-cli
- rh-php71-php-gd
- rh-php71-php-ldap
- rh-php71-php-mbstring
- rh-php71-php-opcache
- rh-php71-php-pdo
- rh-php71-php-pear
- rh-php71-php-pecl-apcu
- rh-php71-php-xml
- rh-php71-php-pgsql
- sclo-php71-php-pecl-redis
php_install_from_source: false
php_enable_php_fpm: true
php_fpm_create_default_pool: true
php_fpm_conf_path: /etc/opt/rh/rh-php71/php-fpm.conf
php_fpm_pool_conf_dir: /etc/opt/rh/rh-php71/php-fpm.d/
php_fpm_pool_conf_path: '{{ php_fpm_pool_conf_dir }}/www.conf'
php_fpm_daemon: rh-php71-php-fpm
php_fpm_pm_start_servers: 1
php_fpm_pm_min_spare_servers: 1
php_fpm_pm_max_spare_servers: 1
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment