ILIAS-7-Install-Tutorial for Ubuntu 20.04
General PHP config
Configure php.ini files
- Have a look at the installed PHP versions:
- ls /etc/php
- choose youre version
- In case of doubt:
php -v
- In case of doubt:
- Edit the folowing file:
nano /etc/php/7.4/apache2/php.ini
- search with ctrl+w for these parameters and change the values like this (add missing lines):
max_execution_time = 600
max_input_vars = 10000
memory_limit = 512M
- Set these two parameters accordingly to your needs:
post_max_size = 512M
upload_max_filesize = 512M
- Set these two parameters accordingly to your needs:
post_max_size = 512M
upload_max_filesize = 512M
- This setting for error-reporting very important, please do not try other values, because copying may not work in ILIAS:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE
display_errors = On
- Sessionhandling
session.gc_probability = On
session.gc_divisor = 100
session.gc_maxlifetime = 14400
session.hash_function = Off
session.cookie_httponly = On
session.save_handler = files
session.cookie_secure = On
- For chat since 4.2
allow_url_fopen = On
- OPCache Settings
opcache.enable=1
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=1
- Add this line at the bottom for APC-Cache support:
apc.enabled=On
pc.shm_size=256M
apc.ttl=7200
apc.enable_cli=On
apc.gc_ttl=3600
apc.entries_hint=4096
apc.slam_defense=On
apc.serializer=igbinary
systemctl restart apache2