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.
Key Directives to Update
Directive | Description | Example Value |
|---|---|---|
| Maximum memory (in bytes) a script can use. | |
| Maximum size of a single uploaded file. | |
| Maximum size of POST data (must be larger than | |
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.
Updated on: 04/11/2025
Thank you!