The size of files available for upload through the Contao File Manager is controlled by two possible settings - the Contao System Settings for upload and the file upload size limit in the PHP.INI file. By default the limit in the PHP.INI file is set to 128 MB and a default installation of Contao will have the setting at 2 MB. The following article shows you the error you will encounter if you exceed this limit, and how to fix it in both the Contao System Settings and PHP.INI file.
During the upload of files with the Contao File Manager you may see the error message at right.
If you are attempting to exceed 128 MB, you will need to find the default PHP.INI file and change the FILE UPLOAD size that is set in the file. Web Hosting Hub includes a default PHP.INI file at the root PUBLIC_HTML folder. You can edit this file using the Cpanel File Manager or your by downloading with a FTP client and then editing the file with a text editor. After editing the file you would need to re-upload the file and replace the old PHP.INI with the modified one. For more information on editing through Cpanel, go to Using the Cpanel File Manager. You can also find information using Notepad ++'s FTP solution here: Using Notepad++ to Modify a File.
Here is a summary of the steps to edit the PHP.INI file:
This will change the size of the files allowed to be uploaded through the File Manager and the Contao File Manager. Bear in mind that while file sizes can be used, the acutal size used should be limited per your server performance needs. You do not want to be loading 16 MB graphic files, and expecting the performance of the server to optimal at that poin. Keep the file sizes small and there should be no issues with the File Upload sizes.
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!