Merge pull request #3665 from zhsj/fix-start-sh

fix test php binary in start.sh
This commit is contained in:
PEMapModder 2016-02-14 21:30:02 +08:00
commit a75c713d34

View File

@ -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."