https://www.pocketmine.net/#linux-install
wget -q -O - http://get.pocketmine.net/ | bash
./start.sh to start PocketMine-MP
https://dl.bintray.com/pocketmine/PocketMine
./start.sh
Couldn't find a working PHP 7 binary, please use the installer.
wget https://dl.bintray.com/pocketmine/PocketMine/PHP_7.0.6_x86-64_Linux.tar.gz
你可能需要安装perl, gcc, make, automake, libtool, autoconf和m4. 如果你想在x86_64架构上编译你可能需要安装gcc-multilib.
automake,
libtool,
gcc-multilib
libtool-bin
bison
liujia@iZ23jyp275rZ:~/mcpe2$ ./start.sh
Failed loading /pocketmine/bin/php7/lib/php/extensions/debug-zts-20151012/opcache.so: /pocketmine/bin/php7/lib/php/extensions/debug-zts-20151012/opcache.so: cannot open shared object file: No such file or directory
19132
[*] PocketMine-MP现在开始运行. 输入 \"/help\" 来看所有可用的命令.
Fatal error: Cannot use pocketmine\nbt\tag\Float as Float because 'Float' is a special class name in phar:///home/liujia/mcpe2/PocketMine-MP.phar/src/pocketmine/Server.php on line 71
参考:
- https://forums.pocketmine.net/threads/installation-problem.15479/page-2