ImagicalMine (eng)

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:
    mkdir ~/pocketmine-server

 

  • Download the latest ImagicalMine build
    wget http://jenkins.terweij.nl/job/ImagicalMine/lastSuccessfulBuild/artifact/releases/ImagicalMine.phar

 

  • 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)
    http://rpms.famillecollet.com/
    • Then do:

yum install php php-common php-cli php-opcache php-devel php-pecl-weakref php-pecl-pthreads

 

  • SSH as user

cd ~/pocketmine-server

 

  • start ImagicalMine server as:
    zts-php ./ImagicalMine.phar

 

 

 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.

 

ImagicalMine