How to increase the upload limit and change PHP settings - AXS2LMS How to increase the upload limit and change PHP settings - AXS2LMS

How to increase the upload limit and change PHP settings

The maximum file size you can upload in AXS2LMS depends on your actual server settings.

In order to change this, you must have access to the server hosting your AXS2LMS platform. Then follow the procedure below:

  • Locate the php.ini file in effect. You can find this if you sign in as administrator and go to Maintenance→Information→PHP info and look for the value next to “Loaded Configuration File”
  • Use a text editor to open this file. You must have proper permissions to do so
  • Change the following values to be at least as large as the maximum file size you will be uploading:

post_max_size: Recommended values are 50M or as large as the maximum file you will be uploading
upload_max_filesize: Recommended values are 50M or as large as the maximum file you will be uploading
memory_limit: Recommended values are at least 256M or as large as the maximum file you will be uploading

  • After you’re done with your changes, you should save the file and restart your web server
  • You can verify that the changes have taken effect if you visit the PHP info page again and look for the values next to the settings you changed (upload_max_filesize for example)

Note: if you’re uploading extremely large files (more 500MB each), then you might need to also tweak the following settings:

max_input_time in php.ini
max_execution_time in php.ini
FcgidMaxRequestLen in Apache, if you’re using fastcgi
FcgidBusyTimeout in Apache, if you’re using fastcgi
FcgidIOTimeout in Apache, if you’re using fastcgi
Timeout in Apache
LimitRequestBody in Apache

Powered by BetterDocs