From 090d1597665b4403043f0d2d975f1bad81c623d0 Mon Sep 17 00:00:00 2001 From: MinecrafterJPN Date: Tue, 22 Jul 2014 09:46:47 +0900 Subject: [PATCH] Enabled built-in PHP --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 6a0c7b43e..9af5a3b97 100755 --- a/start.sh +++ b/start.sh @@ -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." @@ -57,4 +57,4 @@ done if [ ${LOOPS} -gt 1 ]; then echo "Restarted $LOOPS times" -fi \ No newline at end of file +fi