Fix php-fpm user and updated all.yml file.

pull/63/head
Ivan Grynenko 8 years ago
parent 610230adc9
commit 1ca8e1d6ad
  1. 31
      lemp-rhel7/group_vars/all.yml

@ -1,5 +1,19 @@
--- ---
# Variables listed here are applicable to all host groups # Variables listed here are applicable to all host groups
mysql_root_password: Ff!2KDSUOs10[tXR*M</_#mgvlJCkz5W
mysql_databases:
- name: drupal8db
encoding: utf8
collation: utf8_general_ci
mysql_users:
- name: drupal8user
host: "127.0.0.1"
password: dcSEMWpH]O2P(?ubNjFmLYJ[xoVhXiCs
priv: "drupal8db.*:ALL"
php_date_timezone: "Australia/Melbourne"
# DO NOT MODIFY BELOW THIS LINE.
wp_version: 4.3 wp_version: 4.3
wp_sha256sum: 3b0db3abe8504f15a33cf64188a493ec0de01eaa8d20e37c3d6a1d9fa0a40fb4 wp_sha256sum: 3b0db3abe8504f15a33cf64188a493ec0de01eaa8d20e37c3d6a1d9fa0a40fb4
@ -9,7 +23,6 @@ wp_db_user: wordpress
wp_db_password: secret wp_db_password: secret
# MySQL settings # MySQL settings
mysql_root_password: Ff!2KDSUOs10[tXR*M</_#mgvlJCkz5W
mysql_root_password_update: yes mysql_root_password_update: yes
mysql_bind_address: '127.0.0.1' mysql_bind_address: '127.0.0.1'
mysql_slow_query_log_enabled: yes mysql_slow_query_log_enabled: yes
@ -23,15 +36,6 @@ mysql_innodb_log_file_size: "1G"
mysql_innodb_flush_log_at_trx_commit: "2" mysql_innodb_flush_log_at_trx_commit: "2"
mysql_innodb_file_per_table: 1 mysql_innodb_file_per_table: 1
mysql_innodb_log_buffer_size: "16M" mysql_innodb_log_buffer_size: "16M"
mysql_databases:
- name: drupal8db
encoding: utf8
collation: utf8_general_ci
mysql_users:
- name: drupal8user
host: "127.0.0.1"
password: dcSEMWpH]O2P(?ubNjFmLYJ[xoVhXiCs
priv: "drupal8db.*:ALL"
# This is used for the nginx server configuration, but access to the # This is used for the nginx server configuration, but access to the
# WordPress site is not restricted by a named host. # WordPress site is not restricted by a named host.
@ -53,9 +57,10 @@ php_enablerepo: "remi-php70"
# PHP-FPM configuration. # PHP-FPM configuration.
php_enable_php_fpm: true php_enable_php_fpm: true
php_fpm_pool_user: nginx
php_fpm_pool_group: nginx
php_apc_shm_size: "128M" php_apc_shm_size: "128M"
php_date_timezone: "Australia/Melbourne"
# Interaction with which web server # Interaction with which web server
php_webserver_daemon: "nginx" php_webserver_daemon: "nginx"
@ -72,13 +77,15 @@ php_packages:
- php-imap - php-imap
- php-ldap - php-ldap
- php-mbstring - php-mbstring
- php-mcrypt
- php-memcached
- php-redis
- php-opcache - php-opcache
- php-pdo - php-pdo
- php-pear - php-pear
- php-pecl-apcu - php-pecl-apcu
- php-xml - php-xml
- php-xmlrpc - php-xmlrpc
- php-mcrypt
- php-pecl-uploadprogress - php-pecl-uploadprogress
# Nginx vhosts configuration # Nginx vhosts configuration