Context
In cases where a configuration file of a significant size needs to be uploaded and Expedition is unable to process it, it becomes necessary to modify the setup of the Apache-PHP component.
Requirements
Solution
- Open a terminal to the VM
- Execute the below command
sudo vi /etc/php/7.0/apache2/php.ini
- Look for the attribute upload_max_filesize
- Change the value to (i.e) upload_max_filesize = 300M
- Look for the attribute post_max_size
- Change the value to (i.e) post_max_size = 300M
- Save the changes (press esc :wq!)
- Restart the apache service
sudo service apache2 restart
- Try it again, you should be able to upload files up to 300MB