Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
deb13:apache [2026/05/18 23:00] – [Apache 2.4 and PHP 8.4] Bernard Condraudeb13:apache [2026/07/21 16:53] (current) – [PHP Installation] Bernard Condrau
Line 30: Line 30:
 ===== PHP Installation ===== ===== PHP Installation =====
   - Download the GPG key:<code>$ sudo apt update   - Download the GPG key:<code>$ sudo apt update
-$ curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg</code>+sudo curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg</code>
   - Add the repository to your sources<code>$ echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list</code>   - Add the repository to your sources<code>$ echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list</code>
   - Install the desired PHP version, where V is the major and v is the minor version number, for example 8.4<code>$ sudo apt update   - Install the desired PHP version, where V is the major and v is the minor version number, for example 8.4<code>$ sudo apt update