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

Solved Setting up PHP & PMMP on Windows 10

Discussion in 'Help' started by Michel5F30, Apr 20, 2018.

  1. Michel5F30

    Michel5F30 Silverfish

    Messages:
    22
    Hi there,

    i am successfully administrating a Java version MC server since several years and i'm worried by watching the continously growing community of the bedrock version.

    So i decided to have a closer look at it and start a server as localhost just to gather some bedrock experience.

    However even tho i read the PMMP installation manuals several times i'm stuck now.

    • Downloaded PHP 7.2.4 and copied it to C:\php
      (I got it at another directory first, but PHP got this path internally by default at several places, so i decided to move to C:\php.)
    • Added the path to the Windows system evironment variables
      (So the php command is now executable by console.)
    • Downloaded and / or enabled / added all php extensions listed here in php.ini
      (mbstring, openssl, sockets were available by default. yaml, pthreads as DLL and curl as EXE were available as download at the link above, i did not compile anything.)
    • Downloaded (here) all 7 files of the latest Jenkins build of PMMP (941)
      (Into another direction on another disk partition than PHP.)
    • Executed start.cmd
      -> Fails due to missing extensions altough PHP sais they're fine and running

    Code:
    >php --version
    PHP 7.2.4 (cli) (built: Mar 28 2018 04:27:01) ( ZTS MSVC15 (Visual C++ 2017) x64 )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    Code:
    >curl --version
    curl 7.59.0 (x86_64-w64-mingw32) libcurl/7.59.0 OpenSSL/1.0.2h (WinSSL) zlib/1.2.8 WinIDN libssh2/1.7.0_DEV
    Release-Date: 2018-03-14
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
    Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz TLS-SRP HTTPS-proxy MultiSSL
    Code:
    >php --modules
    [PHP Modules]
    bcmath
    calendar
    Core
    ctype
    date
    dom
    filter
    hash
    iconv
    json
    libxml
    mbstring
    mysqlnd
    openssl
    pcre
    PDO
    Phar
    pthreads
    readline
    Reflection
    session
    SimpleXML
    sockets
    SPL
    standard
    tokenizer
    wddx
    xml
    xmlreader
    xmlwriter
    yaml
    zip
    zlib
    
    [Zend Modules]
    Code:
    >start.cmd
    [ERROR] Unable to find the cURL (curl) extension.
    [ERROR] Unable to find the Multibyte String (mbstring) extension.
    [ERROR] Unable to find the OpenSSL (openssl) extension.
    [ERROR] Unable to find the pthreads (pthreads) extension.
    [ERROR] Unable to find the Sockets (sockets) extension.
    [ERROR] Unable to find the YAML (yaml) extension.
    [ERROR] Please use the installer provided on the homepage, or recompile PHP again.
    Drücken Sie eine beliebige Taste . . .

    Did i miss anything important?
    Do you have any ideas why PMMP won't be able to recognize my PHP extensions?
     
  2. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    PMMP Has its own PHP with extensions to run it
    Download the PHP here
    and extract the "bin" folder to the where you are running the server and start it
     
    HiggsInc and Michel5F30 like this.
  3. Michel5F30

    Michel5F30 Silverfish

    Messages:
    22
    Wow, that was easy...i missed this appveyor thing because i thougt i wouldn't need it, if i install PHP by myself.
    I guess it might will work without the appveyor PHP bin, if i put my PHP folder at this place?
    I'll try that later, it works like a charm now.
    Thanks a lot.
     
  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.