Fixes #59, #57: Set default opcache and apc filenames correctly, ensure opcache installed on EL.

This commit is contained in:
Jeff Geerling 2015-12-07 16:27:29 -06:00
parent 5dfce28b75
commit 7afdd80e6f
2 changed files with 4 additions and 3 deletions

View File

@ -19,5 +19,5 @@ __php_conf_path: "{{ '/etc/php5' if php_webserver_daemon and php_webserver_daemo
__php_extension_conf_path: "{{ __php_conf_path }}/conf.d" __php_extension_conf_path: "{{ __php_conf_path }}/conf.d"
__php_apc_conf_filename: 20-apc.ini __php_apc_conf_filename: 20-apc.ini
__php_opcache_conf_filename: 05-opcache.ini __php_opcache_conf_filename: 20-opcache.ini
__php_fpm_daemon: php5-fpm __php_fpm_daemon: php5-fpm

View File

@ -9,6 +9,7 @@ __php_packages:
- php-imap - php-imap
- php-ldap - php-ldap
- php-mbstring - php-mbstring
- php-opcache
- php-pdo - php-pdo
- php-pear - php-pear
- php-pecl-apc - php-pecl-apc
@ -19,6 +20,6 @@ __php_webserver_daemon: "httpd"
__php_conf_path: /etc __php_conf_path: /etc
php_extension_conf_path: /etc/php.d php_extension_conf_path: /etc/php.d
__php_apc_conf_filename: apc.ini __php_apc_conf_filename: 50-apc.ini
__php_opcache_conf_filename: opcache.ini __php_opcache_conf_filename: 10-opcache.ini
__php_fpm_daemon: php-fpm __php_fpm_daemon: php-fpm