# 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="/files/Yb1u9VjBGiQJoprLGjkO" 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="/files/6isnzUfRBbQKcOLtDGTK" 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="/files/9QUFVF6hDxGzoRmQc502" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sitioshispanos.com/menu-principal/guias/web-hosting/opciones-avanzadas-hestiacp/como-cambiar-la-version-de-php-en-hestiacp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
