Home / Tutorials / PrestaShop 1.7 Tutorials / 2 Simplest Ways to Config Upload Max File Size PrestaShop 1.7 | Leotheme Blog

2 Simplest Ways to Config Upload Max File Size PrestaShop 1.7 | Leotheme Blog

When installing theme on prestashop, people may face with a problems that file is larger than its permission.

You should set the maximum file size for some steps. It seems to be very easy done by our performing the following our guideline with 2 Simplest Ways to Config Upload Max File Size PrestaShop 1.7:

Way 1: Config Upload File Size Limit PrestaShop By Config php.ini
Way 2: Config Upload File Size Limit PrestaShop by config in prestashop back-office

Get Start!

Way 1: Config Upload File Size PrestaShop By Config php.ini

1. upload max file size prestashop 1.7 - config php.ini upload max file size prestashop 1.7 - config php.ini

You have to edit the php.ini file for your PHP install. This can only be done if you do have access to your server’s PHP configuration files. If not, ask your host.

If you do have access to php.ini, open it and edit the following lines:

post_max_size = [anything]

upload_max_filesize = [anything]

If you want to set the maximum to 100 megabytes, change their values to

post_max_size = 100M

upload_max_filesize = 100M

Way 2: Config Upload File Size PrestaShop by config in prestashop back-office

Step 1: Log into your PrestaShop 1.7 admin dashboard.

Step 2: Choose Advanced Parameters -> Administration

Find Upload Quota, you will see the field named Attachment maximum size. Set the max size you desire in the field in Megabytes.

And Save for your changes!!!

increase upload max file size prestashop 1.7

increase upload max file size prestashop 1.7

This guide already is shown off “2 Simplest & Quickest Way to Config Upload Max File Size PrestaShop” by config php.ini or PrestaShop Backoffice.

Related PrestaShop Tutorials Post:

About Nhu Quynh

"You can't sell anything if you can't tell anything." https://www.leotheme.com/

Check Also

Simple code to fix position of product in category after import

If you have this bug in your prestashop: all product same position = 1 and …

Leave a Reply

Your email address will not be published. Required fields are marked *