---
title: How to change the PHP version in DirectAdmin
description: "- You first need to login into DirectAdmin control panel using one of the URLs below,  ```  https://IP-address:2222 or https://server-hostname:2222. ``` ![](https://truehost.com/support/wp-content/uploads/2024/11/image-155.png) - Check the usage panel on the right-hand side of the window. You will see the **PHP Version** just below…"
url: "https://truehost.com/support/knowledge-base/how-to-change-the-php-version-in-directadmin/"
updated: "2024-11-12"
category: Cloud servers in Kenya
---

# How to change the PHP version in DirectAdmin

- You first need to login into DirectAdmin control panel using one of the URLs below, 

```
 https://IP-address:2222 or https://server-hostname:2222.
```

![](https://truehost.com/support/wp-content/uploads/2024/11/image-155.png)

- Check the usage panel on the right-hand side of the window. You will see the **PHP Version** just below the real-time resources usage panel
- The option will also display the **current** PHP version and a **Change** button.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-256.png)

- To change the PHP version, click on the **Change**.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-257.png)

- You will have a drop-down with PHP Versions. Select the desired version from the dropdown then click on **Save**.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-259.png)

- You will see a message that confirms the **Change**.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-260.png)

You may use the above steps to adjust your PHP versions depending on your application requirements.
