From 97201905ac7176e88170d61edaf9355127c337cf Mon Sep 17 00:00:00 2001 From: mhoellein Date: Sat, 13 Oct 2018 07:35:07 +0200 Subject: [PATCH] daily autocommit --- apache2/sites-available/nextcloud.conf | 5 ++++- php/7.2/apache2/php.ini | 16 ++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/apache2/sites-available/nextcloud.conf b/apache2/sites-available/nextcloud.conf index 00aff464..a76874de 100644 --- a/apache2/sites-available/nextcloud.conf +++ b/apache2/sites-available/nextcloud.conf @@ -3,6 +3,7 @@ + Header set Referrer-Policy "no-referrer" ServerAdmin webmaster@localhost DocumentRoot /var/www/nextcloud/ ServerName moellein.homeip.net @@ -12,8 +13,10 @@ AllowOverride all + SetEnv HOME /var/www/nextcloud + SetEnv HTTP_HOME /var/www/nextcloud Options Indexes FollowSymLinks MultiViews - AllowOverride None + AllowOverride All Order allow,deny allow from all diff --git a/php/7.2/apache2/php.ini b/php/7.2/apache2/php.ini index 720d7681..e80b3cd2 100644 --- a/php/7.2/apache2/php.ini +++ b/php/7.2/apache2/php.ini @@ -401,7 +401,7 @@ max_input_time = 60 ; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit -memory_limit = 128M +memory_limit = 512M ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; @@ -1764,20 +1764,20 @@ ldap.max_links = -1 [opcache] ; Determines if Zend OPCache is enabled -;opcache.enable=1 +opcache.enable=1 ; Determines if Zend OPCache is enabled for the CLI version of PHP -;opcache.enable_cli=0 +opcache.enable_cli=1 ; The OPcache shared memory storage size. -;opcache.memory_consumption=128 +opcache.memory_consumption=128 ; The amount of memory for interned strings in Mbytes. -;opcache.interned_strings_buffer=8 +opcache.interned_strings_buffer=8 ; The maximum number of keys (scripts) in the OPcache hash table. ; Only numbers between 200 and 1000000 are allowed. -;opcache.max_accelerated_files=10000 +opcache.max_accelerated_files=10000 ; The maximum percentage of "wasted" memory until a restart is scheduled. ;opcache.max_wasted_percentage=5 @@ -1795,14 +1795,14 @@ ldap.max_links = -1 ; How often (in seconds) to check file timestamps for changes to the shared ; memory storage allocation. ("1" means validate once per second, but only ; once per request. "0" means always validate) -;opcache.revalidate_freq=2 +opcache.revalidate_freq=1 ; Enables or disables file search in include_path optimization ;opcache.revalidate_path=0 ; If disabled, all PHPDoc comments are dropped from the code to reduce the ; size of the optimized code. -;opcache.save_comments=1 +opcache.save_comments=1 ; Allow file existence override (file_exists, etc.) performance feature. ;opcache.enable_file_override=0 -- 2.43.0