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 = 600max_input_vars = 10000memory_limit = 512M
- Set these two parameters accordingly to your needs:
post_max_size = 512Mupload_max_filesize = 512M
- Set these two parameters accordingly to your needs:
post_max_size = 512Mupload_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_NOTICEdisplay_errors = On
- Sessionhandling
session.gc_probability = Onsession.gc_divisor = 100session.gc_maxlifetime = 14400session.hash_function = Offsession.cookie_httponly = Onsession.save_handler = filessession.cookie_secure = On
- For chat since 4.2
allow_url_fopen = On
- OPCache Settings
opcache.enable=1opcache.enable_cli=1opcache.interned_strings_buffer=8opcache.max_accelerated_files=10000opcache.memory_consumption=128opcache.save_comments=1opcache.revalidate_freq=1
- Add this line at the bottom for APC-Cache support:
apc.enabled=Onpc.shm_size=256Mapc.ttl=7200apc.enable_cli=Onapc.gc_ttl=3600apc.entries_hint=4096apc.slam_defense=Onapc.serializer=igbinary
systemctl restart apache2