# Upgrading PHP

Elentra has some basic requirements in order to run properly. Every so often, the Architecture Review Committee will recommend upgrading PHP versions, to ensure that Elentra is always running on a supported version of PHP. Please note that the Docker Container will be upgraded automatically by the Elentra Core Team. When a new upgrade is available, you will need to update your local `elentra-developer` repo from the Elentra Project.

### PHP 7.4

```
systemctl stop httpd

yum -y remove php73* mod_php73

yum -y install mod_php74 \
            php74-cli \
            php74-gd \
            php74-devel \
            php74-pdo \
            php74-mysqlnd \
            php74-intl \
            php74-mbstring \
            php74-bcmath \
            php74-ldap \
            php74-imap \
            php74-soap \
            php74-xml \
            php74-xmlrpc \
            php74-tidy \
            php74-opcache \
            php74-json \
            php74-sodium \
            php74-pecl-redis \
            php74-pecl-zip \

systemctl start httpd
```


---

# 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://docs.elentra.org/technical/developers/troubleshooting/upgrading-php.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.
