Modifying Apache-PHP Setup to Enable Ingestion of Large Configuration Files by Expedition

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
L4 Transporter
No ratings

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

  • CLI and sudo access

Solution

  1. Open a terminal to the VM
  2. Execute the below command
    sudo vi /etc/php/7.0/apache2/php.ini
  3. Look for the attribute upload_max_filesize
  4. Change the value to (i.e) upload_max_filesize = 300M
  5. Look for the attribute post_max_size
  6. Change the value to (i.e) post_max_size = 300M
  7. Save the changes (press esc :wq!)
  8. Restart the apache service
    sudo service apache2 restart
  9. Try it again, you should be able to upload files up to 300MB

 

Rate this article: