@ -166,7 +166,7 @@ if command -v apt-get &> /dev/null; then
|
|||||||
echo -e " ${INFO} Existing PHP installation detected : PHP version $phpInsVersion"
|
echo -e " ${INFO} Existing PHP installation detected : PHP version $phpInsVersion"
|
||||||
fi
|
fi
|
||||||
# Check if installed php is supported version (5.4 is EOL)
|
# Check if installed php is supported version (5.4 is EOL)
|
||||||
if [[ $phpInsVersion < "5.5" ]]; then
|
if [[ "$phpInsVersion" < "5.5" ]]; then
|
||||||
# Prefer the php metapackage if it's there
|
# Prefer the php metapackage if it's there
|
||||||
if ${PKG_MANAGER} install --dry-run php > /dev/null 2>&1; then
|
if ${PKG_MANAGER} install --dry-run php > /dev/null 2>&1; then
|
||||||
phpVer="php"
|
phpVer="php"
|
||||||
|
Reference in New Issue
Block a user