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

pocketmine 1.2 for php 7.0?

Discussion in 'Help' started by Poustmal12, Sep 21, 2017.

  1. Poustmal12

    Poustmal12 Silverfish

    Messages:
    23
    GitHub:
    poustmal12
    I want to update my server soon,and fix my plugins if they have errors.
     
  2. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    What do you want? A pocketmine version for minecraft 1.2 that works with php 7.0?

    That doesn't exist.
     
  3. Poustmal12

    Poustmal12 Silverfish

    Messages:
    23
    GitHub:
    poustmal12
    Yes,there is already a php 7.0 branch on pmmp,but yet is not updated to mcpe 1.2
     
  4. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Why do you want to make 1.2 of PocketMine from PHP 7.2 to PHP 7.0....
    You should know why they changed over to PHP 7.2 as well as you have to get PHP 7.2 nothing we can do or want to do about always updating for PHP 7.2 and 7.0.

    They PHP7.0 branch is probably the old PMMP (before switching to PHP 7.2).

    Isn't it better to use the latest version of stuff than crying and I even had to update tons of stuff on my Linux system from nginx to other processes that use PHP still it gives you experience and a good idea of Linux.
     
    EdwardHamHam and HimbeersaftLP like this.
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    It's simple: You don't.

    Here's why: https://github.com/pmmp/PocketMine-MP/releases/tag/1.6.2dev-562

    See that one line of text that says:
     
    sharletsings123 likes this.
  6. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    PHP 7.0 is not safe to use, there are thread-safety issues with it which are fixed in PHP 7.2. You're better off upgrading.

    If that's not enough, 7.2 brings lots of nice new language features and substantial performance improvements.

    TL;DR: we aren't supporting PHP 7.0 anymore.
     
  7. SunnyLo

    SunnyLo Creeper

    Messages:
    2
    GitHub:
    loyungsum
    Anyone can give me the direct download link for php 7.2 as I cannot find it, please
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    sharletsings123 likes this.
  9. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Also make sure your PHP version is on 7.2 before adding the PHP 7.2 bin for PMMP.

    Linux
    Code:
    php -v
    
    I don't know about windows.
     
  10. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    No.
     
  11. AshBull

    AshBull Spider Jockey

    Messages:
    31
    You don't need to change your system version, just run composer with your 7.2 PHP executable ("/bin/php7/bin/php")
     
    Jack Noordhuis likes this.
  12. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Oh anyways I had updated my Linux Ubuntu 16.04 PHP System Version to 7.2 and then had used the PHP 7.2 Bin.
     
  13. SunnyLo

    SunnyLo Creeper

    Messages:
    2
    GitHub:
    loyungsum
  14. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Awesome!
     
  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.