1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Help getting PocketMine-MP for PHP 7.2

Discussion in 'Help' started by Levi, Sep 24, 2017.

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    I went to the instructions page (http://pmmp.readthedocs.io/en/rtfd/installation.html) and I typed the command
    curl -sL https://get.pmmp.io | bash -s - -r

    I got this:
    PHP:
    root@vps138039:~/pm# curl -sL https://get.pmmp.io | bash -s - -r
    [*] Retrieving latest build data for channel "alpha"
    [*] Found PocketMine-MP 1.7dev (build 27) for MinecraftPE v1.1.0.55 (PHP 7.2API 3.0.0-ALPHA7)
    [*] 
    This alpha build was released on Sun Sep 10 12:10:05 EDT 2017
    [*] Installing/updating PocketMine-MP on directory ./
    [
    1/3Cleaning...
    [
    2/3Downloading PocketMine-MP 1.7dev phar... done!
    [
    3/3Obtaining PHPdetecting if build is available... Linux PHP build availabledownloading PHP_7.0.3_x86-64_Linux.tar.gz... checking... updating php.ini... done
    [*] Everything doneRun ./start.sh to start PocketMine-MP
    So i did ./start.sh

    but it gave me this:

    HTML:
    root@vps138039:~/pm# ./start.sh
    [CRITICAL] You must use PHP >= 7.2
    [CRITICAL] Please use the installer provided on the homepage.
    
    did i go to the wrong homepage\instructions site?
     
  2. Thouv

    Thouv Slime

    Messages:
    84
    GitHub:
    adeynes
    You didn't do anything wrong, you just need to update the PHP binaries. Download the PHP 7.2 .tar.gz file from https://jenkins.pmmp.io and place it in your server's folder. Delete the bin directory in your server's folder, then run tar -xvzf <name of .tar.gz file you just downloaded from Jenkins>. You should now have a new bin directory with the updated binaries and your server should be able to run
     
    Levi likes this.
  3. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    CAL] Please initialize composer dependencies before running.
    Restarted 598 times
    [CRITICAL] Composer autoloader not found
    [CRITICAL] Please initialize composer dependencies before running.
    Restarted 599 times
    [CRITICAL] Composer autoloader not found
    [CRITICAL] Please initialize composer dependencies before running.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.