N°5122 - Update libs to new PHP requirements

This commit is contained in:
Molkobain
2022-08-08 14:10:26 +02:00
parent 30021d9236
commit 57c36d0e51
585 changed files with 62279 additions and 20427 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -euo pipefail
INTL_EXTENSION=$(php -r 'echo sprintf("php%s.%s-intl",PHP_MAJOR_VERSION,PHP_MINOR_VERSION);')
echo -e "Removing $INTL_EXTENSION extension:\n"
sudo apt remove "$INTL_EXTENSION" -y
echo -e "Cleaning up:\n"
sudo apt autoclean && sudo apt autoremove
echo -e "Installed extensions:\n"
/usr/local/bin/php-extensions-with-version.php