Commit da16890e authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

fluxbb: add apcu for bbs

parent 208a13e5
......@@ -5,9 +5,3 @@ fluxbb_dir: /srv/http/fluxbb
fluxbb_cookie_name: flux_cookie_eezohm0o
fluxbb_cookie_seed: huathe3ooZuwieba
fluxbb_funnyquestion_hash: aixuGahCh4eng3bu
php_extensions:
- iconv
- intl
- mysqli
- apcu
---
dependencies:
- { role: nginx, tags: ['nginx'] }
- { role: mariadb, tags: ['mariadb'] }
- { role: php-fpm, tags: ['php-fpm'] }
......@@ -47,6 +47,9 @@
src=config.php.j2 dest={{ fluxbb_dir }}/config.php
owner=fluxbb group=fluxbb mode=400
- name: install php-apcu
pacman: name=python-apcu
- name: configure php-fpm
template: >
src=php-fpm.conf.j2 dest=/etc/php/php-fpm.d/fluxbb.conf
......
......@@ -26,3 +26,7 @@ php_admin_value[opcache.max_accelerated_files] = 200
php_admin_value[opcache.revalidate_freq] = 60
php_admin_value[opcache.fast_shutdown] = 1
php_admin_value[disable_functions] = passthru, exec, proc_open, shell_exec, system, popen
php_admin_value[apc.shm_size] = 1024M
php_admin_value[apc.ttl] = 1800
php_admin_value[apc.entries_hint] = 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment