fix php
This commit is contained in:
@@ -113,10 +113,10 @@ else
|
|||||||
echo "MariaDB is already installed, skipping."
|
echo "MariaDB is already installed, skipping."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! pacman -Qi php php-curl php-mbstring php-xml &> /dev/null; then
|
if ! pacman -Qi php &> /dev/null; then
|
||||||
sudo pacman -S php php-curl php-mbstring php-xml
|
sudo pacman -S --noconfirm php
|
||||||
else
|
else
|
||||||
echo "PHP packages are already installed, skipping."
|
echo "PHP is already installed, skipping."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Enabling PHP extensions in /etc/php/php.ini..."
|
echo "Enabling PHP extensions in /etc/php/php.ini..."
|
||||||
|
|||||||
Reference in New Issue
Block a user