How to install the PocketMine server software ImagicalMine on CentOS
DO NOT USE PHP 7.1!
DOES NOT WORK!
- SSH into your CentOS as user
Create a dir into your homedir:
- Download the latest ImagicalMine build
- SSH as root into your system (or use su command)
Install PHP7 and depencies from REMI
Install REMI repository (the *release.rpm) and enable PHP7 (edit the remi.repo files)
- Then do:
yum install php php-common php-cli php-opcache php-devel php-pecl-weakref php-pecl-pthreads
- SSH as user
- start ImagicalMine server as:
zts-php binary is the one that uses pthreads. The normal php binary is not using pthreads!
Don’t forget to configure your pocketmine.yml and server.properties files after the first run.