Skip to content

Commit

Permalink
Make Meza control 10-opcache.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontalvo3 committed Sep 26, 2018
1 parent da04438 commit 31f6649
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/roles/apache-php/tasks/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
notify:
- restart apache

- name: Write php.d ini files
template:
src: "{{ item }}.j2"
dest: "/etc/php.d/{{ item }}"
with_items:
- 10-opcache.ini
notify:
- restart apache

- name: Write freetds.conf file
template:
src: freetds.conf.j2
Expand Down
2 changes: 2 additions & 0 deletions src/roles/apache-php/templates/10-opcache.ini.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
; Enable Zend OPcache extension module
zend_extension=opcache.so

0 comments on commit 31f6649

Please sign in to comment.