How to configure file size in Prestashop 1.7

How to configure file size in Prestashop 1.7

By Dinh Nghia Tran In: Prestashop 1.7 Hits: 14517

prestashop 1.7

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 OPTIONS.

To set the max file attachment size in PrestaShop 1.7 

  • OPTION 1: Edit 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

  • OPTION 2: Edit 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!!!

prestashop 1.7

Finally, restart the web server to take your changes into account.

( 2Votes)

Dinh Nghia Tran

Recent Comments

Consuelo Carrillo , 14 Sep, 2015 #

That's great!

FanLeo , 23 Sep, 2011 #

Wow, Great Design! I will buy it rightnow :)

Facebook Likebox

Prestashop cart
Prestashop Demo
Prestashop 1.7.6.0 button