CT's Nextcloud, Freshrss.heimdall & mailbackup: Refractored PHP Installation
Now using external `AlpinePHPTool` script for installing/configuring php. This wil make upgrading PHP on existing containers automaticaly plausible/easier. Removed php packages from alpine.yaml and moved them to CT-Files `Config/php.pkglist` Remove PHP configurations steps from CT's init.sh and integrated them in ` AlpinePHPTool` Removed PHP timezone configuration files and intergradeded them in `AlpinePHPTool` Updated
This commit is contained in:
@@ -7,6 +7,5 @@ cd "$( cd "$( dirname "$0" )" &> /dev/null && pwd )/.."
|
||||
read -p "Old PHP version (example 82 for 8.2): " OldPHPVer
|
||||
read -p "New PHP version (example 83 for 8.3): " NewPHPVer
|
||||
|
||||
sed -i -e "s/php$OldPHPVer/php$NewPHPVer/g" ./CT-Build/Alpine.yaml
|
||||
|
||||
find ./CT-Files -type f | xargs sed -i -e "s/php-fpm$OldPHPVer/php-fpm$NewPHPVer/g" -e "s/php$OldPHPVer/php$NewPHPVer/g"
|
||||
sed -i -e "s/NewPHPVer=$OldPHPVer/NewPHPVer=$NewPHPVer/g" ./Scripts/AlpinePHPTool.sh
|
||||
find ./CT-Files -name "php.pkglist" | xargs sed -i -e "s/php-fpm$OldPHPVer/php-fpm$NewPHPVer/g" -e "s/php$OldPHPVer/php$NewPHPVer/g"
|
||||
|
||||
Reference in New Issue
Block a user