This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-nextcloud
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
php opcache
master
Markus Katharina Brechtel
7 years ago
parent
246a98472f
commit
acf4ad266a
3 changed files
with
17 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
tasks/main.yml
+8
-0
tasks/php-opcache.yml
+7
-0
templates/php-opcache.conf.j2
+ 2
- 0
tasks/main.yml
View File
@@ -2,6 +2,8 @@
- include: setup_Debian.yml
- include: php-opcache.yml
- include: reset.yml
when: nextcloud_state == "reinstalled"
+ 8
- 0
tasks/php-opcache.yml
View File
@@ -0,0 +1,8 @@
---
- name: enable php opcache
template:
src: php-opcache.conf.j2
dest: /etc/php/7.0/apache2/conf.d/opcache.ini
notify: restart apache2
+ 7
- 0
templates/php-opcache.conf.j2
View File
@@ -0,0 +1,7 @@
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
Write
Preview
Loading…
Cancel
Save