Merge pull request #1813 from PocketMine/revert-1748-enabled-builtin-php

Revert "Enabled built-in PHP"
This commit is contained in:
Shoghi Cervantes 2014-08-01 12:50:05 +02:00
commit 81feff6d0d

View File

@ -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 > /dev/null 2>&1 ; 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."
@ -57,4 +57,4 @@ done
if [ ${LOOPS} -gt 1 ]; then
echo "Restarted $LOOPS times"
fi
fi