Applications1 min readUpdated

PHP settings per application

memory_limit, max_execution_time, upload size, OPcache and PHP workers: what each setting does and safe values.

Each application has its own PHP settings on its PHP tab. Changes apply in seconds, with no downtime.

PHP settings of a Magento application.
PHP settings of a Magento application.
SettingMagento defaultWordPress defaultWhat it does
memory_limit2048M512MThe most memory one PHP request may use.
max_execution_time600300Seconds before a request is stopped.
max_input_time300300Seconds to receive a request (uploads).
max_input_vars1000010000Fields in one form. Large Magento forms need many.
upload_max_filesize / post_max_size64M128MLargest upload.
opcache.validate_timestampsOnOnOff makes PHP faster but code changes only show after a cache flush.
pmdynamicondemandHow PHP workers start: always some ready (dynamic) or only when needed (ondemand).
pm.max_children1210The most PHP requests this application runs at the same time.
date.timezoneUTCUTCTime zone for PHP.

Raising pm.max_children lets more requests run at once, but each one uses memory. Too many workers for the memory makes the server swap and everything slows down. See PHP workers and memory.

Did this solve it? If not, tell us what you see and we look at your server.

Open a ticket

Still stuck? Ask a person.

Tickets go straight to the engineers who run ShopWhizzy servers. Tell us the store, what you see and when it started, and we take it from there.