From 624c5a1fa64aca2a8f11cbe2e94e7dd53c95a62f Mon Sep 17 00:00:00 2001 From: Didier Date: Tue, 12 Sep 2023 18:58:33 +0200 Subject: [PATCH] update php.ini keys --- INSTALL/INSTALL.ubuntu2204.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/INSTALL/INSTALL.ubuntu2204.md b/INSTALL/INSTALL.ubuntu2204.md index 1bb9648..bc75a37 100644 --- a/INSTALL/INSTALL.ubuntu2204.md +++ b/INSTALL/INSTALL.ubuntu2204.md @@ -81,8 +81,21 @@ sudo apt-get install php apache2 libapache2-mod-php php-curl php-gd php-mysql ph ## 1.5 Apply PHP configuration settings in your php.ini -https://github.com/monarc-project/MonarcAppFO/blob/master/vagrant/bootstrap.sh#L22-L26 +Edit php.ini file +```bash +sudo vi /etc/php/8.1/apache2/php.ini +``` +Change these keys: + +```php +upload_max_filesize = 200M +post_max_size = 50M +max_execution_time = 100 +max_input_time = 223 +memory_limit = 512M +error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING +``` ## 1.6 Apply all changes