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

PHP 7 does not load libraries

Discussion in 'Help' started by Riccardo, Apr 24, 2017.

  1. Riccardo

    Riccardo Spider

    Messages:
    7
    Good morning.
    I'm installing Pocketmine-Mp for the first time on a Windows Server 2016 64x.
    After downloading the PHAR file from the Jenkins portal and the PHP 7 binaries for Windows from your Binatry page, I started the Start.cmd file
    However, instead of appearing on the initial configuration screen, I found the error in the image.
    Can you solve this problem?
    If you need more information about the error you can also contact me.

    Image of the error:
    Errore PHP.jpg
     
  2. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    what does your server directory and the bin subdirectory look like?
     
  3. Intyre

    Intyre Administrator Staff Member PMMP Team

    Messages:
    81
    GitHub:
    Intyre
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    You need to install Microsoft Visual C++ Redistributable 2015 to run PHP on Windows.
     
  5. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Yep, Dkt is right.. I overcame the issue by installed C++ Redistribute..
     
  6. Riccardo

    Riccardo Spider

    Messages:
    7
    It's installed!
     
  7. Riccardo

    Riccardo Spider

    Messages:
    7
    All files are in a directory on the administrator user desktop.
     
    Last edited: Apr 25, 2017
  8. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    But what does the layout look like? In your server dir is there a bin dir? is there a php dir in the bin dir?
     
  9. Riccardo

    Riccardo Spider

    Messages:
    7
    Yes, and contains the PHP 7 files downloaded by Binatry.
     
  10. PianoRalph04

    PianoRalph04 Witch

    Messages:
    60
    GitHub:
    MechRalph04
    I think if it's like;
    Code:
    - Folder
      - bin
      - src
        - pocketmine
          - etc...
        - raklib
          - etc...
        - spl
          - etc...
      - start.cmd
     
  11. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Are you certain that you downloaded the correct php files?
     
  12. Riccardo

    Riccardo Spider

    Messages:
    7
    I've downloaded this PHP.
     
  13. Riccardo

    Riccardo Spider

    Messages:
    7
    I haven't src folder!
     
    Last edited: Apr 25, 2017
  14. Riccardo

    Riccardo Spider

    Messages:
    7
    This is my folder:
    wp_ss_20170425_0002.png

    And bin folder:
    wp_ss_20170425_0001.png
     
    Last edited: Apr 25, 2017
  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.