php.ini settings
Settings are edited per PHP version, not per site, because one php-fpm pool serves every site on that version.
rex php settings 8.3rex php settings 8.3 set memory_limit=512Mrex php settings 8.3 set upload_max_filesize=64MThe app has the same editor on each version’s card in Settings.
Changing one restarts the pool
Section titled “Changing one restarts the pool”A set restarts that version’s php-fpm pool so the change takes effect — and every site on
that version briefly restarts with it. Expected, quick, and worth knowing before you do it
with a long request in flight.
The list is a whitelist
Section titled “The list is a whitelist”The usual ones
Section titled “The usual ones”| Setting | Why you would raise it |
|---|---|
memory_limit |
Large imports, page builders, WooCommerce with many extensions |
upload_max_filesize |
Media uploads failing at the WordPress level |
post_max_size |
Must be ≥ upload_max_filesize, or uploads fail confusingly |
max_execution_time |
Long imports and migrations |
display_errors |
Seeing the error instead of a white page |
Per-site alternatives
Section titled “Per-site alternatives”For something genuinely per site rather than per version:
- Per-site environment variables, in the site’s settings or
rex site env. .htaccesswithphp_valuedirectives, if the site uses the Apache override — nginx cannot read those.ini_set()in the application, for anything settable at runtime.
Checking what is live
Section titled “Checking what is live”The site’s Terminal tab:
php -i | grep memory_limitThat reads the CLI’s ini rather than the pool’s, so for the value the web request actually
sees, use a phpinfo() page or check the site’s Environment card in the app.