Articles on: Troubleshooting

Increasing php.ini directives to send large amounts of data

Sometimes, customized products or exports may fail because your server PHP settings are too restrictive. This usually happens when large amounts of data (like product thumbnails or design data) are being sent.


Indications of the Issue


You may need to adjust PHP settings if you notice:

  • A product is added to the cart, but the customized version is missing.
  • The thumbnail preview does not display in the cart.
  • The customized product data is missing in the order.
  • Exporting a product/order results in an error message.


Solution: Increase PHP.ini Directives


To solve this, you need to adjust certain php.ini values on your server.


If you don’t know how, please contact your hosting provider. We cannot change these settings for you.


Key Directives to Update


Directive

Description

Example Value

memory_limit

Maximum memory (in bytes) a script can use.

memory_limit = 32M

upload_max_filesize

Maximum size of a single uploaded file.

upload_max_filesize = 2M

post_max_size

Maximum size of POST data (must be larger than upload_max_filesize).

post_max_size = 3M


Recommendation


  • Adjust these values according to your needs (larger file sizes require higher limits).
  • After making changes, restart your server for the settings to take effect.


Increasing these limits ensures that large design data, product thumbnails, and exports work smoothly without errors.ut errors.

Updated on: 04/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!