Add Basic PHP & MySQL Configuration

Hadi Nategh 2018-02-14 15:21:15 +01:00
parent e86fc9de5e
commit 62cc45a5f8
2 changed files with 33 additions and 0 deletions

@ -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:<br>
```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

@ -0,0 +1 @@
> [Wiki](Home) ▸ [Troubleshooting](troubleshooting) ▸ **Troubleshooting**