Hosting Tiers Hub (10 Guides)
Production php.ini & .user.ini Directives for Elementor Pro
Align php.ini and .user.ini directives so large Elementor JSON templates save cleanly without 504 timeouts or truncated menus.
memory_limit=512M | max_input_vars=5000
Preventing Truncated Saves With max_input_vars
Elementor saves full page layouts as serialized JSON payloads, while WordPress mega-menus submit hundreds of POST form fields. Raising max_input_vars from 1,000 to 3,000-5,000 stops silent menu item loss and stalled kit updates.
Template Import Timeouts & Upload Ceilings
Importing full Elementor Kit ZIP archives requires post_max_size = 128M, upload_max_filesize = 128M, and max_execution_time = 180 so media sideloading finishes without 504 Gateway Timeouts.
Measured Thresholds & Configuration
| Directive | Risky Default | Recommended Value | Target Failure Fixed |
|---|---|---|---|
| memory_limit | 128M / 256M | 512M - 768M | Editor white screen / 500 |
| max_input_vars | 1000 | 3000 - 5000 | Mega menu & widget field drop |
| max_execution_time | 30 | 180 | Kit import / Woo CSV timeout |