erxat911
Linux pocketmine开服 说 应该怎么做


Ri0MEr
LZ 尝试下直接在目录里输入 java -Xmx内存 -Xms内存 -jar 核心文件名.jar

BobPlayer
PocketMine需要PHP环境来运行,正在提示你安装PHP7。
不知道你是怎么安装的PM,引用官网:
"执行以下命令, 会下载PocketMine-MP, 并下载PHP的二进制文件或编译(如果二进制不可用)."
  1. wget -q -O - http://get.pocketmine.net/ | bash
复制代码

然后在输入./start.sh启动PM

erxat911
浅念哥 发表于 2017-4-23 17:48
PocketMine需要PHP环境来运行,正在提示你安装PHP7。
不知道你是怎么安装的PM,引用官网:
"执行以下命令,  ...
  1. [mc1@zhujiwu ~]$ ls
  2. bin              index.html    index.html.2  PocketMine-MP.phar      README.md
  3. CONTRIBUTING.md  index.html.1  LICENSE       PocketMine-MP.phar.sig  start.sh
  4. [mc1@zhujiwu ~]$ wget -q -O - http://get.pocketmine.net/ | bash
  5. [*] Found PocketMine-MP Final_1.4.1 (build 980) using API 1.11.0
  6. [*] This stable build was released on 2015年 03月 18日 星期三 01:00:47 CST
  7. [+] The build was signed, will check signature
  8. [*] Installing/updating PocketMine-MP on directory ./
  9. [1/3] Cleaning...
  10. [2/3] Downloading PocketMine-MP Final_1.4.1 phar... done!
  11. [*] Checking signature of PocketMine-MP.phar
  12. gpg: 于 2015年03月18日 星期三 01时16分17秒 CST 创建的签名,使用 RSA,钥匙号 A7837F89
  13. gpg: 完好的签名,来自于“Shoghi Cervantes <[email protected]>”
  14. gpg:               亦即“keybase.io/shoghicp <[email protected]>”
  15. [+] Signature valid and checked!
  16. [3/3] Obtaining PHP: detecting if build is available...
  17. [3/3] CentOS 64-bit PHP build available, downloading PHP_5.6.2_x86-64_CentOS.tar.gz... checking... regenerating php.ini... done
  18. [*] Everything done! Run ./start.sh to start PocketMine-MP
  19. [mc1@zhujiwu ~]$ ls
  20. bin              index.html    index.html.2  PocketMine-MP.phar      README.md
  21. CONTRIBUTING.md  index.html.1  LICENSE       PocketMine-MP.phar.sig  start.sh
  22. [mc1@zhujiwu ~]$ wget -q -O - http://get.pocketmine.net/ | bash
  23. [*] Found PocketMine-MP Final_1.4.1 (build 980) using API 1.11.0
  24. [*] This stable build was released on 2015年 03月 18日 星期三 01:00:47 CST
  25. [+] The build was signed, will check signature
  26. [*] Installing/updating PocketMine-MP on directory ./
  27. [1/3] Cleaning...
  28. [2/3] Downloading PocketMine-MP Final_1.4.1 phar... done!
  29. [*] Checking signature of PocketMine-MP.phar
  30. gpg: 于 2015年03月18日 星期三 01时16分17秒 CST 创建的签名,使用 RSA,钥匙号 A7837F89
  31. gpg: 完好的签名,来自于“Shoghi Cervantes <[email protected]>”
  32. gpg:               亦即“keybase.io/shoghicp <[email protected]>”
  33. [+] Signature valid and checked!
  34. [3/3] Obtaining PHP: detecting if build is available...
  35. [3/3] CentOS 64-bit PHP build available, downloading PHP_5.6.2_x86-64_CentOS.tar.gz... checking... regenerating php.ini... done
  36. [*] Everything done! Run ./start.sh to start PocketMine-MP
  37. [mc1@zhujiwu ~]$ ls
  38. bin              index.html    index.html.2  PocketMine-MP.phar      README.md
  39. CONTRIBUTING.md  index.html.1  LICENSE       PocketMine-MP.phar.sig  start.sh
  40. [mc1@zhujiwu ~]$ wget -q -O - http://get.pocketmine.net/ | bash
  41. [*] Found PocketMine-MP Final_1.4.1 (build 980) using API 1.11.0
  42. [*] This stable build was released on 2015年 03月 18日 星期三 01:00:47 CST
  43. [+] The build was signed, will check signature
  44. [*] Installing/updating PocketMine-MP on directory ./
  45. [1/3] Cleaning...
  46. [2/3] Downloading PocketMine-MP Final_1.4.1 phar... done!
  47. [*] Checking signature of PocketMine-MP.phar
  48. gpg: 于 2015年03月18日 星期三 01时16分17秒 CST 创建的签名,使用 RSA,钥匙号 A7837F89
  49. gpg: 完好的签名,来自于“Shoghi Cervantes <[email protected]>”
  50. gpg:               亦即“keybase.io/shoghicp <[email protected]>”
  51. [+] Signature valid and checked!
  52. [3/3] Obtaining PHP: detecting if build is available...
  53. [3/3] CentOS 64-bit PHP build available, downloading PHP_5.6.2_x86-64_CentOS.tar.gz... checking... regenerating php.ini... done
  54. [*] Everything done! Run ./start.sh to start PocketMine-MP
  55. [mc1@zhujiwu ~]$ ./start.sh
  56. Couldn't find a working PHP 7 binary, please use the installer.
复制代码

BobPlayer

核心是PHP7核心(需要PHP7运行),在centos 64位下却下载了PHP5.6.2,原因不明。
根据这个教程操作:https://tieba.baidu.com/p/4066284161
修改核心支持PHP5

erxat911
浅念哥 发表于 2017-4-24 15:51
核心是PHP7核心(需要PHP7运行),在centos 64位下却下载了PHP5.6.2,原因不明。
根据这个教程操作:https: ...

那个看不懂 有详细的吗?

BobPlayer
erxat911 发表于 2017-4-24 19:32
那个看不懂 有详细的吗?

尝试用编辑器打开start.sh,将其中的php7全部替换为php5。

第一页 上一页 下一页 最后一页