Skip to content

PHP settings

Each application that runs PHP has its own PHP settings: WordPress, Custom PHP and Laravel applications. Changing them affects only that application. Open the application and go to Settings › PHP.

Node.js, static and AI agent applications don’t run PHP and have no PHP section.

Pick a version from PHP version. The change starts as soon as you choose it; there is no separate save.

Netkeel offers PHP 8.3 and 8.4. The list shows the versions installed and working on the application’s server. If none is listed, the page says “No healthy PHP runtimes were reported”; click Check again after a moment.

  1. Choose new values from the lists.
  2. Click Save changes.
Setting Choices Default
Memory limit 128 MB to 1 GB 256 MB
Max execution time 30 to 600 seconds 300 seconds
Upload max filesize 32 MB to 1 GB 128 MB
Post max size 32 MB to 1 GB 128 MB
Max input vars 1,000 to 10,000 5,000
Max input time 30 to 600 seconds 300 seconds

A setting you have never changed shows a small Default label.

To accept bigger uploads, raise both Upload max filesize and Post max size. If you set Upload max filesize higher than Post max size, Netkeel raises Post max size to match, because PHP refuses any upload bigger than it. The page tells you when this happens. The web server’s own upload size and timeout limits follow these settings, so you don’t need to change anything else.

Depending on the server, the page can also show Page cache: Enabled or No page cache. It applies as soon as you choose it. See Caching and Redis.

HTTP Strict Transport Security (HSTS) is under Settings › Web server. See Web server settings.

If the application seems stuck, click Restart PHP-FPM at the top of the PHP page, or More › Restart PHP at the top of the application’s page. Pages may pause for a moment while PHP restarts.

When you clone a WordPress application, create a staging copy or move it to another server, its PHP settings go with it.