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

Unable to run using Composer

Discussion in 'Help' started by InspectorGadget, Sep 19, 2017.

  1. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Hi, i've tried using Composer and install PocketMine-MP using SRC but i can't go through it. Can someone explain me what's happening?

    Command:
    Code:
    C:\Users\RTG\Documents\Work Folder\PocketMine-MP>"C:\Users\RTG\Documents\Work Folder\PocketMine-MP\bin\php\php.exe" composer.phar install
    You are running Composer with SSL/TLS protection disabled.
    Loading composer repositories with package information
    Installing dependencies (including require-dev) from lock file
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - This package requires php >=7.2 but your PHP version (7.0.23) does not satisfy that requirement.
      Problem 2
        - The requested PHP extension ext-pthreads >=3.1.7dev has the wrong version (3.1.6) installed. Install or enable PHP's pthreads extension.
    
    
    C:\Users\RTG\Documents\Work Folder\PocketMine-MP>
    
    I download PHP from: https://twitter.com/dktapps/status/903359889791213568
     
  2. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Could you give a list of commands that you have run to setup this up?

    Download PHP from jenkins, then try to untar it.

    Windows or Linux if so I am explaining Linux rn.

    Also make sure your PHP Version is up to date.
    Code:
    php -v
    
    Probably try to do it again?

    I am not sure.

    But when I did it on my systems it worked perfectly (VPS: Ubuntu16.04 Linux).
     
  3. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    I'm using Windows btw.
     
  4. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    I am truly sorry but I won't be able to help you out on this then, I don't use windows (Remember the broken PC?, yep!) so I have no clue on what to do on it.

    If you need help coming around with Linux, I will surely help you with it.
     
  5. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    sharletsings123 and EdwardHamHam like this.
  6. Khome

    Khome Spider Jockey

    Messages:
    44
    I tried downloading the windows php 7.2 build scripts from there. But when I run pmmp the window closes instantly..
     
  7. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Are you running it with powershell?
     
  8. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
  9. Khome

    Khome Spider Jockey

    Messages:
    44
    Windows command prompt
     
  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.