> ## Documentation Index
> Fetch the complete documentation index at: https://kb.stablepoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Changing PHP versions and settings in Enhance

Enhance lets you choose the PHP version and adjust PHP settings per website — useful when applications require specific versions or higher limits.

## Changing the PHP version

1. Log in to your Enhance control panel.
2. Select the website you want to manage.
3. In the left sidebar, click **Developer tools** (or **PHP**, depending on your panel version).
4. Select the PHP version from the dropdown.
5. Save.

The change takes effect immediately. Multiple PHP versions are available side by side, so different websites under the same account can run different versions.

<Warning>
  Before switching a production site to a new major PHP version, check that your application and its plugins support it. For WordPress, you can use a staging site to test the new version safely first.
</Warning>

## Adjusting PHP settings

Common PHP settings can be adjusted per website, including:

* **memory\_limit** — the maximum memory a PHP script may use
* **upload\_max\_filesize** and **post\_max\_size** — control the maximum upload size
* **max\_execution\_time** — how long a script may run before being terminated
* **max\_input\_vars** — relevant for large forms and complex WordPress menus

To change these:

1. In the website's PHP settings section, locate the setting.
2. Enter the new value.
3. Save.

<Tip>
  If a plugin or theme installation fails with a memory or timeout error, raising memory\_limit and max\_execution\_time usually resolves it. Keep values reasonable — excessively high limits can mask real problems in the application.
</Tip>

## Checking your configuration

To verify the active PHP version and settings, create a file called info.php in your document root containing:

```php theme={null}
<?php phpinfo();
```

Visit yourdomain.com/info.php to see the full configuration — then **delete the file** when done, as it exposes server details.
