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

# Change your PHP version and extensions

> How to switch PHP versions, enable or disable extensions, and adjust PHP settings in cPanel.

SpeedyPage uses Hardened PHP, which patches vulnerabilities in older PHP versions. You can run legacy applications on older versions without the usual security risks.

## Change your PHP version

<Steps>
  <Step title="Open the PHP Selector">
    Log in to cPanel through your [client area](https://my.speedypage.com) or at `yourdomain.com/cpanel`. Go to **Software** and click **Select PHP Version**.
  </Step>

  <Step title="Select a version">
    Click the current version number, choose the version you need, and click **Set as Current**.
  </Step>
</Steps>

<Warning>
  Changing PHP versions can break compatibility with some applications. Test your site after switching.
</Warning>

## Manage PHP extensions

In the PHP Selector, open the **Extensions** tab. Use the checkboxes to enable or disable modules, then click **Save**.

## Adjust PHP settings

Open the **Options** tab in the PHP Selector to configure settings like:

| Setting               | What it controls                 |
| --------------------- | -------------------------------- |
| `memory_limit`        | Maximum memory a script can use  |
| `post_max_size`       | Maximum size of POST data        |
| `upload_max_filesize` | Maximum file upload size         |
| `disabled_functions`  | Functions blocked from execution |

<Tip>
  When increasing the upload size limit, set `post_max_size` equal to or larger than `upload_max_filesize`, or uploads will silently fail.
</Tip>
