1. Don't do it. 2. Still don't do it. 3. If you do it, you should at least know you're being extremely dumb. If you understand WHY it's dumb and are still prepared to do it anyway, then... PocketMine-MP will run on 64-bit Android devices (aarch64) but you need a 64-bit PHP binary. Instructions are provided here how to do this. If you can't cross-compile PHP for Android, then you shouldn't be running an Android server. P.S. Do I need to say that you need a 64-bit Android device?