---
title: Change your PHP settings and extensions
description: If a plugin says an upload is too large, or your site runs out of memory, you can raise those limits yourself in your control panel. You can also turn extra PHP extensions on or off when your software asks…
url: "https://getsimple.net/knowledgebase/change-php-settings/"
updated: "2026-11-29"
category: Your hosting panel
---

# Change your PHP settings and extensions

If a plugin says an upload is too large, or your site runs out of memory, you can raise those limits yourself in your control panel. You can also turn extra PHP extensions on or off when your software asks for one by name.

This is separate from choosing the PHP version. For that, see [Change your site's PHP version](/knowledgebase/change-php-version/).

## Before you start

- Open your control panel. See [How to open your control panel](/knowledgebase/open-hosting-panel/).
- Make a backup if you're changing a live site. See [Back up and restore your site](/knowledgebase/back-up-and-restore-your-site/).
- Don't paste in a whole settings file from another host. Add only what you need.

## Open your PHP tools

1. Open your control panel. See [How to open your control panel](/knowledgebase/open-hosting-panel/).
2. Open **Websites** and select your site.
3. Open **Advanced**, then **Developer tools**.

Your current PHP version also shows on the site overview, under **At a glance**, in the **PHP VERSION** row.

## Change a PHP setting

1. In **Developer tools**, open the **php.ini editor**.
2. If you haven't added any settings yet, the site is using the defaults. Existing settings appear in the list under **DIRECTIVE** and **SETTINGS**.
3. Select **Add directive**.
4. Enter the setting name in **Directive**. For **Value**, choose **Text** or **Boolean**, whichever matches the setting. If you choose **Text**, enter the value in the **Text** box.
5. Select **Create**.

These are the ones people change most often:

- `memory_limit`, for example `256M` or `512M`, if a script runs out of memory.
- `upload_max_filesize` and `post_max_size`, if you can't upload a file through the site. Set `post_max_size` at least as large as `upload_max_filesize`.
- `max_execution_time`, if a long import stops halfway.
- `max_input_vars`, if a large menu or a theme settings page won't save completely.

Leave `display_errors` off on a public site. Turn it on only while you're hunting an error, then turn it off again.

If the site still shows the old value, click **Restart** in the **PHP** section. The site may be down for a few seconds. Still on the old value? Support 24/7/365 can help. Start at [Get Help](/knowledgebase/get-help/).

## Turn a PHP extension on or off

In **Developer tools**, open **PHP**. Under **PHP extensions** you'll see **Built-in extensions** and **Configurable extensions**, each with checkboxes.

Leave **Built-in extensions** as they are. Only change **Configurable extensions** if your software asks for one by name. Tick or untick the checkbox for that extension.

If the change doesn't show right away, click **Restart** in the **PHP** section.

## If something breaks

Switch the setting back, or turn the extension back off, then reload the site. If you're stuck, Support 24/7/365 can help. Start at [Get Help](/knowledgebase/get-help/), and include the site, the setting you changed, and the error you see.

## FAQ

### Is this the same as changing my PHP version?

No. The version is 8.2, 8.3, and so on. Settings are the limits and options inside that version. See [Change your site's PHP version](/knowledgebase/change-php-version/).

### WordPress says the uploaded file exceeds upload_max_filesize. What do I change?

Raise `upload_max_filesize` and `post_max_size` to the same value, or make `post_max_size` a little larger. Then click **Restart** if the site still refuses the file.

### Should I copy every setting from my old host?

No. Add only the ones your site actually needs.

## Related

- [Change your site's PHP version](/knowledgebase/change-php-version/)
- [How to open your control panel](/knowledgebase/open-hosting-panel/)
- [Create a staging site](/knowledgebase/create-a-staging-site/)
- [Back up and restore your site](/knowledgebase/back-up-and-restore-your-site/)
- [Get Help](/knowledgebase/get-help/)
