This commit is contained in:
GameHerobrine 2023-12-01 10:35:59 +03:00
parent d334b85c63
commit 1e9b5b571b
2 changed files with 4 additions and 7 deletions

View file

@ -13,13 +13,10 @@ You should not use it now.
<h3> Download Stable NostalgiaCore</h3>
https://github.com/kotyaralih/NostalgiaCore/releases/
<h3> PHP binaries download</h3>
* https://sourceforge.net/projects/pocketmine/files/builds/ - PHP for old PocketMine
* https://owouwu.ru/NCArm_bin.tar.gz - PHP binaries for ARM
* https://jenkins.pmmp.io/job/PHP-8.0-Aggregate/ PHP8(core should have php8 support as of now)
* https://github.com/pmmp/PHP-Binaries/releases/tag/php-8.0-latest PHP8 (Use PM4 version)
* https://github.com/DaisukeDaisuke/AndroidPHP/releases/tag/8.0.28 PHP8 for ARMv8
<h3> How to use auto-restart?</h3>
Simply start your server using ./start.sh -l

View file

@ -20,9 +20,9 @@ while getopts "p:f:l" OPTION 2> /dev/null; do
done
if [ "$PHP_BINARY" == "" ]; then
if [ -f ./bin/php5/bin/php ]; then
if [ -f ./bin/php7/bin/php ]; then
export PHPRC=""
PHP_BINARY="./bin/php5/bin/php"
PHP_BINARY="./bin/php7/bin/php"
elif [[ ! -z $(type php) ]]; then
PHP_BINARY=$(type -p php)
else