From 680d40d070a692067a2cf0935397f7902d7cdc19 Mon Sep 17 00:00:00 2001 From: SJ Zhu Date: Sun, 1 Nov 2015 20:47:41 +0800 Subject: [PATCH] fix test php binary in start.sh --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index b84f60d73..32d6a5c9a 100755 --- a/start.sh +++ b/start.sh @@ -25,7 +25,7 @@ if [ "$PHP_BINARY" == "" ]; then if [ -f ./bin/php5/bin/php ]; then export PHPRC="" PHP_BINARY="./bin/php5/bin/php" - elif [ type php 2>/dev/null ]; then + elif type php 2>/dev/null; then PHP_BINARY=$(type -p php) else echo "Couldn't find a working PHP binary, please use the installer."