# How to change PHP version in HestiaCPl?

To change the **PHP version** used by a hosting account in HestiaCP, follow these steps:

1. Within the account you want to modify, go to the **WEB** section.
2. Then, edit the domain details by clicking on the **pencil** icon.

<figure><img src="https://content.gitbook.com/content/Ofi0Qrfm7RZh6yIwbvAQ/blobs/YnCsP3FavZdDoG36xEel/HestiaPHPVersion01.png" alt=""><figcaption></figcaption></figure>

3. In the domain data configuration section, scroll down until you find the button that says **Advanced Options**. Click on this button to reveal more options.
4. Among the new options, locate the dropdown menu labeled **Backend Template**.\
   Choose the PHP version that your website requires.

<figure><img src="https://content.gitbook.com/content/Ofi0Qrfm7RZh6yIwbvAQ/blobs/ZMq0JLiqI6rVK4q7cQ3A/HestiaPHPVersion02.png" alt=""><figcaption></figcaption></figure>

5. Finally, save the changes by clicking on the **Save** button located at the top of the account configuration screen.

<figure><img src="https://content.gitbook.com/content/Ofi0Qrfm7RZh6yIwbvAQ/blobs/x7Q5DIBy5YutuDa4Tbbz/HestiaPHPVersion03.png" alt=""><figcaption></figcaption></figure>
