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

Can't start server because of wrong php version

Discussion in 'Help' started by itsyaboilenny, Jul 4, 2018.

  1. itsyaboilenny

    itsyaboilenny Creeper

    Messages:
    1
    When I start my server using ./start.sh I get
    Code:
    PocketMine-MP requires PHP >= 7.2.0, but you have PHP 7.0.3.
    When I type php -v I get
    Code:
    PHP 7.2.7-1+0~20180622080852.23+jessie~1.gbpfd8e2e (cli) (built: Jun 22 2018 09:18:17) ( NTS )
    
    So I know my PHP version is above 7.2 but I still can't start my server. Anyone know what I can do?
    Installing on Debian 8
     
  2. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    That command will give you the version of your system PHP installation. To see the version you are using for PMMP you need to go into the PMMP PHP bin folder and type

    Code:
    ./php -v
    Which will say 7.0.3... and that's the version you need to update.
     
  3. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    that means you need to upgrade your PHP PMMP
    you are not recommended to use your own PHP binaries
    you are recommended to use the one command install script via get.pmmp.io
    which it will bundle with the PHP versions and necessary dependencies extensions
     
  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.