mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 21:45:35 +00:00
fixed system PHP detection
This commit is contained in:
parent
dc07fc42b4
commit
daed82612c
2
start.sh
2
start.sh
@ -25,7 +25,7 @@ if [ "$PHP_BINARY" == "" ]; then
|
||||
if [ -f ./bin/php7/bin/php ]; then
|
||||
export PHPRC=""
|
||||
PHP_BINARY="./bin/php7/bin/php"
|
||||
elif [ type php 2>/dev/null ]; then
|
||||
elif [[ ! -z $(type php) ]]; then
|
||||
PHP_BINARY=$(type -p php)
|
||||
else
|
||||
echo "Couldn't find a working PHP 7 binary, please use the installer."
|
||||
|
Loading…
x
Reference in New Issue
Block a user