mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 00:29:54 +00:00
Revert "Enabled built-in PHP"
This commit is contained in:
parent
26ec562fbf
commit
9b84d8c248
4
start.sh
4
start.sh
@ -24,7 +24,7 @@ done
|
|||||||
if [ "$PHP_BINARY" == "" ]; then
|
if [ "$PHP_BINARY" == "" ]; then
|
||||||
if [ -f ./bin/php5/bin/php ]; then
|
if [ -f ./bin/php5/bin/php ]; then
|
||||||
PHP_BINARY="./bin/php5/bin/php"
|
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)
|
PHP_BINARY=$(type -p php)
|
||||||
else
|
else
|
||||||
echo "Couldn't find a working PHP binary, please use the installer."
|
echo "Couldn't find a working PHP binary, please use the installer."
|
||||||
@ -57,4 +57,4 @@ done
|
|||||||
|
|
||||||
if [ ${LOOPS} -gt 1 ]; then
|
if [ ${LOOPS} -gt 1 ]; then
|
||||||
echo "Restarted $LOOPS times"
|
echo "Restarted $LOOPS times"
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user