> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.faaaster.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I adjust my Faaaster site's PHP configuration?

The site's **Server** tab, **PHP configuration** section, exposes the main PHP settings with their default value and their maximum. The **Save** button applies your changes live, without a restart; **Reset to plan defaults** undoes your adjustments.

## Adjustable settings

| Setting | Directive | Default | Maximum |
| --- | --- | --- | --- |
| **Memory limit** | `memory_limit` | 512 MB | 1024 MB |
| **OPcache size** | `opcache.memory_consumption` | 128 MB | 256 MB |
| **PHP-FPM workers** | `pm.max_children` | 2 | 2 |
| **Max execution time** | `max_execution_time` (s) | 180 | 600 |
| **Max input time** | `max_input_time` (s) | 180 | 600 |
| **Max input variables** | `max_input_vars` | 6000 | 20000 |

> **The values and maximums above are those of the Dev plan.** They depend on your hosting plan: a higher plan allocates more resources.

## Changing a setting

1. Open the site, **Server** tab.
2. In the **PHP configuration** section, adjust the values.
3. Click **Save**.

![The Server tab: the PHP version and the PHP settings, with their default value and their maximum.](https://storage.crisp.chat/users/helpdesk/website/-/9/d/2/d/9d2d3e0b7134b800/site-06-configuration-php-en_163a5y0.png)

Only the values you change are saved: they carry the **Custom** badge. The others, marked **Inherited from plan**, follow your plan and change along with it.

To go back, click **Reset to plan defaults**, then **Save**: your settings are removed and every value goes back to **Inherited from plan**.

## When should you change them?

- **Memory limit** — a blank page or an out-of-memory error during an import or a heavy operation.
- **Max execution time** — a long-running task cut off before it finishes.
- **Max input variables** — a very long form, or a theme with many settings, whose fields get truncated when you save.

Just below, the **PHP recommendations** section suggests values calculated from your site's measurements and your plan's limits. Check the proposed value, then click **Apply**; when the target exceeds what your plan allows, the **View plans** button appears instead.