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

does someone knows a good link to compile php as pthread in ubuntu

Discussion in 'General discussion' started by WhoAreMe, May 8, 2020.

  1. WhoAreMe

    WhoAreMe Witch

    Messages:
    55
    I want to build pocketmine from source but always failed to compile php with zts pthread enabled. Can someone help me or provide link that can actualy make it work? I tried many sites but ./configure always lead to headache. Someone help me
     
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    WhoAreMe and HimbeersaftLP like this.
  3. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Also, zts and pthreads are not the same thing.
     
    HimbeersaftLP likes this.
  4. WhoAreMe

    WhoAreMe Witch

    Messages:
    55
    Is there a server.properties im this? How can i edit my old
     
  5. WhoAreMe

    WhoAreMe Witch

    Messages:
    55
    I still can't run composer install. Ext pthreads are still missing
     
  6. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Actually you don't need to compile PHP yourself if you're on ubuntu. Just run
    Code:
    curl -L https://get.pmmp.io | bash
    
     
    HimbeersaftLP likes this.
  7. WhoAreMe

    WhoAreMe Witch

    Messages:
    55
    Yep but i wanna add something. Anyways im a fool it works i iust installed it on wrong user that has the same directory. Thanks for ur help
     
  8. WhoAreMe

    WhoAreMe Witch

    Messages:
    55
    Oh that script just build it then how do i run it from source?
     
  9. WhoAreMe

    WhoAreMe Witch

    Messages:
    55
    I tried the linux php binary from pocketmine. But it doesn't work im on 64 build linux. i i downloed it but still cant detect php
     
  10. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Just run the get.pmmp.io script directly. Both PHP and PocketMine-MP.phar are installed into the current directly after running that script.
     
  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.