Script: AlpinePHPTool.sh
Refactored PHP packagelists to set the PHP version when running `AlpinePHPTool.sh` instead of having it set in the pkglist. This change will deprecate `AlpineUpdatePHPVer.sh` since only the `NewPHPVer` variable in `AlpinePHPTool.sh` needs to change the PHP version change
This commit is contained in:
@@ -110,6 +110,7 @@ run_Purge() {
|
||||
|
||||
#(re)install PHP packages
|
||||
run_Install() {
|
||||
sed -i -e "s/phpPHPver/php$NewPHPVer/g" $configStore/php.pkglist
|
||||
cat $configStore/php.pkglist | xargs apk add
|
||||
#Configure Php-Fpm
|
||||
echo ";Placeholder" > /etc/php$NewPHPVer/php-fpm.d/www.conf
|
||||
|
||||
Reference in New Issue
Block a user