Skip to content

Commit fba7398

Browse files
author
Flavius12
committed
Update phartools.sh
1 parent ff54314 commit fba7398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phartools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if type php >/dev/null 2>&1; then #Check if PHP is installed
33
php phartools.php $@
44
else
55
while true; do
6-
read -p "PHP is not installed! Do you want to install it now (y, n)?" yn
6+
read -p "PHP is not installed! Do you want to install it now (y, n)? " yn
77
case $yn in
88
[Yy]* ) sudo apt-get install php5-cli; sudo sed -i.bak 's/^;phar.readonly/phar.readonly/' /etc/php5/cli/php.ini; sudo sed -i.bak 's/phar.readonly = On/phar.readonly = 0/' /etc/php5/cli/php.ini; exit;; #based on default php.ini config (by default ;phar.readonly = 0 or phar.readonly = On)
99
[Nn]* ) echo "PHP installation cancelled"; exit;;

0 commit comments

Comments
 (0)