WikiServer - Configuring File Size Limits

From The TinkerNet Wiki
Jump to navigation Jump to search


The limits on my LabNotes server are set kinda huge:

  • sudo vim /etc/php/7.2/apache2/php.ini
    • post_max_size = 500M
    • upload_max_filesize = 500M
  • sudo vim /var/www/labnotes/LocalSettings.php
    • $wgMaxUploadSize = 500000000;
  • sudo service apache2 restart