PHP Settings
Tune the PHP runtime for your site — its version, resource limits, worker processes, and optional extensions.
PHP version
Pick which PHP version your site runs. Change it from your site → Settings → PHP Version (or Tools → PHP version). Available: 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5. Newer versions are faster and more secure — test after switching, as old plugins/themes may not support the latest.
Resource limits (php.ini)
Open your site → PHP Settings. The PHP Settings card controls the common
php.ini limits:
| Setting | What it controls |
|---|---|
| Max Execution Time | How long a script may run (seconds) |
| Max Input Time | How long PHP may spend parsing request input (seconds) |
| Memory Limit | Max memory per script — 128M to 1024M |
| Post Max Size | Max size of a POST request — 16M to 128M |
| Upload Max Size | Max size of a single uploaded file — 16M to 256M |
| Max Input Vars | Max number of input variables (form fields, menu items…) |
| Timezone | The PHP timezone (e.g. UTC) |
Click Save Settings to apply (only changed fields are updated), or Reset to Defaults to restore MagicWP's defaults.
Raise limits for big imports and builders
Large media uploads, page builders, and importers often need a higher Upload Max Size, Post Max Size, Memory Limit, and Max Input Vars. If uploads fail or an import stalls, bump these first.
PHP-FPM workers (advanced)
The Advanced Settings card tunes how many PHP worker processes run: Max Children, Start Servers, Min Spare Servers, and Max Spare Servers. The defaults suit most sites — only change these if you know you need to. Click Save Settings to apply.
Extensions
Two optional PHP extensions can be toggled on (both off by default):
- ionCube Loader — needed only for ionCube-encoded plugins or themes.
- SOAP — needed only by plugins that call SOAP web services.
Leave them off unless something specifically requires them.