From bbe51ef013cc560f2e5c43fc57ed893f3a7db7f2 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sun, 17 Jan 2021 23:28:14 +0100 Subject: [PATCH] daily autocommit --- apache2/sites-available/nextcloud.conf | 2 +- php/7.3/apache2/conf.d/20-opcache.ini | 1 + php/7.3/mods-available/opcache.ini | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 120000 php/7.3/apache2/conf.d/20-opcache.ini diff --git a/apache2/sites-available/nextcloud.conf b/apache2/sites-available/nextcloud.conf index cd9feb0..96b1f86 100644 --- a/apache2/sites-available/nextcloud.conf +++ b/apache2/sites-available/nextcloud.conf @@ -20,7 +20,7 @@ Alias /cloud "/var/www/nextcloud/" php_value mbstring.func_overload 0 php_value default_charset 'UTF-8' php_value output_buffering 0 - php_flag opcache.enable 1 + php_flag opcache.enable 0 php_flag opcache.enable_cli 1 php_flag opcache.interned_strings_buffer 8 php_flag opcache.max_accelerated_files 10000 diff --git a/php/7.3/apache2/conf.d/20-opcache.ini b/php/7.3/apache2/conf.d/20-opcache.ini new file mode 120000 index 0000000..f7def34 --- /dev/null +++ b/php/7.3/apache2/conf.d/20-opcache.ini @@ -0,0 +1 @@ +/etc/php/7.3/mods-available/opcache.ini \ No newline at end of file diff --git a/php/7.3/mods-available/opcache.ini b/php/7.3/mods-available/opcache.ini index 34ed69f..fad675d 100644 --- a/php/7.3/mods-available/opcache.ini +++ b/php/7.3/mods-available/opcache.ini @@ -1,3 +1,11 @@ ; configuration for php opcache module ; priority=10 zend_extension=opcache.so +; zend_extension=/usr/lib/php/20180731/opcache.so +; opcache.enable=0 +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= -- 2.39.5