mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Merge pull request #67 from KnownUnown/system_php
Fixed detection of system PHP binaries
This commit is contained in:
commit
d1f59632c2
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