From 62cc45a5f8f63f82622f1b5f5be5c2342bb33532 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 14 Feb 2018 15:21:15 +0100 Subject: [PATCH] Add Basic PHP & MySQL Configuration --- Basic-PHP-and-MySQL-Adjustments.md | 32 ++++++++++++++++++++++++++++++ troubleshooting.md | 1 + 2 files changed, 33 insertions(+) create mode 100644 Basic-PHP-and-MySQL-Adjustments.md diff --git a/Basic-PHP-and-MySQL-Adjustments.md b/Basic-PHP-and-MySQL-Adjustments.md new file mode 100644 index 0000000..f3e1b67 --- /dev/null +++ b/Basic-PHP-and-MySQL-Adjustments.md @@ -0,0 +1,32 @@ +> [Wiki](Home) ▸ [Installation](installation) ▸ **Php and MySQL Adjustments** + +Following adjustments are only essential configuration for running EGroupware robustly on your selected environment. Lots of improvements possibly can be considered in order to get your instance running with high performance in production. + +*** + +## Php configuration + +### Step1 : +Start with modifying php.ini of your installed Php. You may find php.ini under `/etc/php/{php version}/{apache2 | fpm}/php.ini`. Although if you're not sure where your php.ini is located, you may run the following command to find out:
+```locate php.ini``` + +e.g.: ```vi /etc/php/7.1/apache2/php.ini``` + +### Step2: +Try to modify following variables in php.ini: +``` +date.timezone = "YOUR TIMEZONE" //e.g. "Europe/Berlin" +max_execution_time 90 +memory_limit 128M +session.gc_maxlifetime 14400 +upload_max_filesize 64M +post_max_size 65M + +``` +`upload_max_filesize`: determines the size of files users will be able to upload in filemanager or links. + +`session.gc_maxlifetime`: determines the time in seconds of inactivity before a user session will be terminated. + +*** + +## MySQL configuration diff --git a/troubleshooting.md b/troubleshooting.md index e69de29..c83191b 100644 --- a/troubleshooting.md +++ b/troubleshooting.md @@ -0,0 +1 @@ +> [Wiki](Home) ▸ [Troubleshooting](troubleshooting) ▸ **Troubleshooting**