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

PHP Binary

Discussion in 'Development' started by SuperXingKong, Feb 25, 2017.

  1. SuperXingKong

    SuperXingKong Spider Jockey

    Messages:
    28
    GitHub:
    SuperXingKong
    I wanna know how to make a PHP Binary in my adroid phone:)
     
  2. AbelGamerC

    AbelGamerC Spider Jockey

    Messages:
    29
    GitHub:
    abelgamerc
    Use the script compimer.sh in your phone
     
  3. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    It doesn't work like that... It has to be run on Linux.
     
  4. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    It can be ran on Android phones (f u, iOS).
     
  5. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    How? Doesn't the script contain the apt command? Or am I thinking of the wrong script
     
  6. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Android is a Linux variant. Try using the terminal.
     
  7. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    It cant be done, unless you use termux
     
  8. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    What is termux? You have a built-in terminal on pretty much every device running on android.
     
  9. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    Yes but it's VERY limited and no package manager at all. Normal bash scripts won't work, you have to change the shebang /system/bin/sh.

    Termux is a terminal emulator for Android 5.0+ and it has an apt package manager. It has an extensive package repository but idk if you can compile php with it.
     
    Last edited: Mar 13, 2017
  10. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    It's not like you need apt (aptitude) to compile PHP.
     
  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.