mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 14:05:35 +00:00
fix test php binary in start.sh
This commit is contained in:
parent
04fc062b2a
commit
680d40d070
2
start.sh
2
start.sh
@ -25,7 +25,7 @@ if [ "$PHP_BINARY" == "" ]; then
|
|||||||
if [ -f ./bin/php5/bin/php ]; then
|
if [ -f ./bin/php5/bin/php ]; then
|
||||||
export PHPRC=""
|
export PHPRC=""
|
||||||
PHP_BINARY="./bin/php5/bin/php"
|
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)
|
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."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user