Knowledge base/Help /Inside the control panel

“File size too big” error while uploading media (images, fonts, videos etc.)

Bruce Miller
posted this on March 15, 2011 08:35

Seems like your hosting provider doesn't allow uploading big files. Please contact your hosting provider asking them to increase upload file size for you. However, you can try to create a php.ini (or php5.ini) file with following contents and upload it to /admin/actions folder (or add these lines to an existing php.ini or php5.ini file):

upload_max_filesize=64M
post_max_size=64M
memory_limit=64M
 

Comments

User photo
seunare

how do i do this i am a novice

December 28, 2011 15:26
User photo
Mathew Brown
CMS Guide

Hello,

If you have a php.ini file on your server you can edit it typing the lines above or if there are these lines you should change their value (64M).

If you do not have php.ini file on your server please, contact your hosting provider asking them to increase upload max file size.

Best regards,

Mathew Brown

December 28, 2011 16:56
User photo
Christian

Get access to your webspace via FTP. Download the PHP.INI to your Computer. Open it "simply" with a text editor.

Just add the lines (see above) to the end of the .INI, whatever there is written already. After editing, simply save the

file (the original gets overwritten). Upload your changed .INI to the webserver again via FTP. Reload (Log-In again)

your website and check the upload limit. Simply upload something big to your media library.

 

(By the way, that PHP.INI file has to be in other folders on your webspace too, mostly the admin and actions folder)

 

Regards, CBoerner

February 22, 2012 11:32
User photo
Kostas Snider
CMS Guide

Christian,

Thank you very much for these updates! I really think they are very helpful!

Best regards,

Kostas

February 23, 2012 08:24