> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# How to Select PHP Version in DirectAdmin

This guide shows you how to select a PHP version for your domain in DirectAdmin.

:::info

If you are using the Standard theme on DirectAdmin, expand the Standard theme section below and follow those steps. To switch to the Refreshed theme, see [How to change theme or layout on DirectAdmin](https://wiki.crowncloud.net/?How_to_change_theme_or_layout_on_DirectAdmin).

:::

## Requirements

- Access to DirectAdmin.
- A domain added to your DirectAdmin account.
- PHP enabled for the domain.

## In the Refreshed Theme


### Open Select PHP Version
Click on the **Select PHP Version** option under **Extra Features**.
<img alt="Select PHP Version under Extra Features" src={image0} />
### Choose the domain
In the **Domain** section, scroll down to view and select the list of domains.
<img alt="Domain list" src={image1} />
### Open the PHP version dropdown
Click on the PHP version dropdown button.
<img alt="PHP version dropdown" src={image2} />
### Select the PHP version
Select the **PHP version** you want to set for your website.
<img alt="Available PHP versions" src={image3} />
### Enable PHP modules (optional)
If you want to enable **PHP Modules**, select the modules you need. They are enabled automatically.
<img alt="PHP modules" src={image4} />
### Check the PHP options (optional)
Review the PHP options.
<img alt="PHP options" src={image5} />
Adjust the variables as required.
<img alt="PHP option variables" src={image6} />

## In the Standard Theme


Click here to show the steps

### Open Select PHP Version
Click on the **Select PHP Version** option under **Extra Features**.
<img alt="Select PHP Version under Extra Features" src={image7} />
### Choose the domain
In the **Domain** section, scroll down to view and select the list of domains.
<img alt="Domain list" src={image8} />
### Open the PHP version dropdown
Click on the PHP version dropdown button.
<img alt="PHP version dropdown" src={image9} />
### Select the PHP version
Select the **PHP version** you want to set for your website.
<img alt="Available PHP versions" src={image10} />
### Enable PHP modules (optional)
If you want to enable **PHP Modules**, select the modules you need. They are enabled automatically.
<img alt="PHP modules" src={image11} />
### Check the PHP options (optional)
Review the PHP options.
<img alt="PHP options" src={image12} />
Adjust the variables as required.
<img alt="PHP option variables" src={image13} />

## Conclusion

You have successfully selected the PHP version and configured the required PHP options for your domain in DirectAdmin.
