Increase PHP limits for large customization data
Adjust PHP configuration limits to handle large customization payloads, high-resolution exports, and bulk processing.
Chamevo sends and processes large data payloads β customization JSON, base64-encoded thumbnails, and high-resolution print-ready files. If PHP's default limits are too low, operations fail silently or show errors.
Symptoms
- Customized products are not added to cart (the POST data is silently truncated).
- Print-ready file generation times out for complex products.
- Large products with many elements fail to save in the Product Builder.
- The server returns a 500 error during add-to-cart or export.
Recommended PHP limits
| Directive | Minimum | Recommended | Purpose |
|---|---|---|---|
memory_limit | 128M | 256M (512M for large-format) | Memory available to PHP scripts |
post_max_size | 32M | 64M | Maximum size of POST data (cart submissions) |
upload_max_filesize | 10M | 32M | Maximum file upload size (customer images) |
max_execution_time | 120 | 300 | Maximum script runtime in seconds |