How to configure file size in Prestashop 1.7

By Dinh Nghia Tran In: Prestashop 1.7 Hits: 4333

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.

Dinh Nghia Tran

More themes

And all future Templates are only available as long as you stay

Support Policy

What Are Included?
  • QUICKSTART INSTALLATION PACKAGE

    This Package packed All Modules, Templates, Userguide, DataSameple. By using this package, you will get the site the same as the demo

  • PSD SOURCES

    All our templates are delivered with source Adobe.PSD files.

  • INCLUDED EXTENSION PACKAGES

    You can get All of Template, Modules, Plugins... which we use for the demo.

Information
  • DESIGNER

    This Package packed All Modules, Templates, Userguide, DataSameple. By using this package, you will get the site the same as the demo.

  • SUPPORT CONTACT

    If you have any problems, please contact us! We will reply as soon as possible we answer all emails within 24 hours.

    Email:[email protected]


GO ON TOP