Skip to content

Instantly share code, notes, and snippets.

@janus57
Last active November 3, 2024 09:32
Show Gist options
  • Save janus57/37b079a383dd0507149bd94fd35053d1 to your computer and use it in GitHub Desktop.
Save janus57/37b079a383dd0507149bd94fd35053d1 to your computer and use it in GitHub Desktop.
Install "deb.sury.org" repository for PHP
#!/bin/bash
# For up-to-date version see : https://packages.sury.org/php/README.txt
wget https://packages.sury.org/php/apt.gpg -O /usr/share/keyrings/deb.sury.org-php.gpg
echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php-sury.list
apt update
@williamdes
Copy link

You might want to update to the new key management method: https://packages.sury.org/php/README.txt
Ref: oerdnj/deb.sury.org#1627

@janus57
Copy link
Author

janus57 commented Apr 8, 2023

Gist updated, Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment