I have a Freebsd 11 , and want to install PM for MCPE 1.0 I tried the cloning the git and then starting start.sh but it says : start.sh: ${BASH_SOURCE[...}: Bad substitution start.sh: [[: not found Couldn't find a working PHP 7 binary, please use the installer. So what can I do? I have PHP 7 installed on my server so that should NOT be the problem.. And also there is a src folder but the bin folder is not there how do I compile this? Do I have to even compile? And where the hell is that installer???
Nono I cloned the git but I get the error message when I run sh start.sh The experimental 1.0 version cloned on my server : Code: start.sh: ${BASH_SOURCE[...}: Bad substitution start.sh: [[: not found Couldn't find a working PHP 7 binary, please use the installer. I even tried a 0.16 version just for testing but it didn't work either ( I don't want 0.16 anyway but still ..) Here the "stable" version Code: curl -sL https://get.pmmp.io | bash -s - date: illegal option -- - usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] [*] Found PocketMine-MP 1.6.1dev (build 128) using API 2.1.0 [*] This stable build was released on [-] This channel should have a signature, none found [*] Installing/updating PocketMine-MP on directory ./ [1/3] Cleaning... [2/3] Downloading PocketMine-MP 1.6.1dev phar... done! [3/3] Obtaining PHP: detecting if build is available... [3/3] no build found, compiling PHP automatically bash: /home/mcpeserver/PM10/compile.sh: /bin/bash: bad interpreter: No such file or directory bash: line 468: /home/mcpeserver/PM10/compile.sh: No error: 0
For the PHP 7 problem, Pocketmine has custom bins that you can get here: https://bintray.com/pocketmine/PocketMine/Unix-PHP-Binaries/7.0.13 Also, keep in mind that Pocketmine for 1.0 is NOT STABLE. Your server will probably crash, even with the appropriate PHP binaries.
I know this is experimental and such but it won't start on Freebsd as of now, what am I missing? What do I have to do now? Oh and for your information I downloaded all neccessary things like RakLib etc like it says here : https://pmmp.io/get.html Sadly it does not work with the PHP binary for Linux 7.0.13 : Code: ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2 Abort trap I have kldload linux and kldload linux64 and have installed the port emulators/linux_base-c6 so.. I really do not know why it will not work.. I think it is not possible for Freebsd to run this..
You're probably right. You may just have to switch to a different OS/Host. I find that Linux is the easiest to get it working on (It's just the easiest for servers in general), plus, Linux is nice and lightweight and will give you the best performance.