Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Enabled built-in PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
MinecrafterJPN committed Jul 22, 2014
1 parent 14d8633 commit 090d159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ done
if [ "$PHP_BINARY" == "" ]; then
if [ -f ./bin/php5/bin/php ]; then
PHP_BINARY="./bin/php5/bin/php"
elif [ type php 2>/dev/null ]; then
elif type php > /dev/null 2>&1 ; then
PHP_BINARY=$(type -p php)
else
echo "Couldn't find a working PHP binary, please use the installer."
Expand Down Expand Up @@ -57,4 +57,4 @@ done

if [ ${LOOPS} -gt 1 ]; then
echo "Restarted $LOOPS times"
fi
fi

0 comments on commit 090d159

Please sign in to comment.