update php.ini keys

pull/494/head
Didier 2023-09-12 18:58:33 +02:00
parent dbeecff185
commit 624c5a1fa6
1 changed files with 14 additions and 1 deletions

View File

@ -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