From c3f0e14f5abcbaf1f968fb9f1e1c991d1cec81e6 Mon Sep 17 00:00:00 2001 From: Florent Destremau Date: Thu, 13 Jun 2024 09:23:15 +0200 Subject: [PATCH] Revert back to using ondrej/php --- install/php.sh | 2 +- uninstall/php.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/php.sh b/install/php.sh index da7c74f9..c137449d 100644 --- a/install/php.sh +++ b/install/php.sh @@ -1,6 +1,6 @@ # install php with basic extensions sudo add-apt-repository -y ppa:ondrej/php -sudo apt -y install php php-{curl,apcu,intl,mbstring,opcache,pgsql,mysql,sqlite3,redis,xml,zip} +sudo apt -y install php8.3 php8.3-{curl,apcu,intl,mbstring,opcache,pgsql,mysql,sqlite3,redis,xml,zip} # install composer, the PHP package manager EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')" diff --git a/uninstall/php.sh b/uninstall/php.sh index aca30400..da7db13f 100644 --- a/uninstall/php.sh +++ b/uninstall/php.sh @@ -1,4 +1,4 @@ -sudo apt -y purge "php*" +sudo apt -y purge "php8.3*" sudo add-apt-repository -y --remove ppa:ondrej/php sudo rm /usr/local/bin/composer