Install PHP for Android (CLI or Web Server)

Official php5-cli installation on android by L3n4r0x (php Running On Android Terminal) -> This Repost From My Another Blogs <- You can visit it on or

Show with different language :
How to install php5-cli in android


  •   1. Busybox For Programming Support ( Read And See Here)
  •   2. Terminal Emulator ( Download Terminal Emulator)
  • 3.         Code BB For PHP Server ( Download Server For PHP APK )

  •   4. Internal min ± 300 MB free
  •   5. ROOT Explorer ( Download Root Explorer Pro )

  • Installation:

    1. Install Busybox and The Module
    2. Install Server Module For PHP and its php
    3. Open Terminal Emulator, type the following code this:

    chmod 755 $data/files/*
    chmod 755 $data/lib/*

    Or you can also manually set permissions 755 in /data/data/com.eminis.server.php/ all the files in the folder "files" and "lib"

    4. Open Root Explorer, open the folder /data/data/com.eminis.server.php/files/, "press and hold" file named php. (See screenshot)

    Click hold, then click on the option menu (top right corner)

    Click on the options menu, select the "link to this file"

    Once the link is copied, immediately go to the dir /system/bin/ (see screenshot)

    /System/bin/ click I marked above
    Done. Try test open the Terminal emulator. Type the following code:

    php -v
    php --help

    Installation Results Above

    [*] Features:

    * Pure PHP v.5.4+ - v.7+ server with modules:
    core | session | standard | date | ereg | libxml | openssl | PCRE | sqlite3 | zlib | bcmath | bzip2 | calendar | ctype | curl | dom | hash | fileinfo | filter | ftp | gd | gettext | gmp | spl | iconv | intl | json | mbstring | mcrypt | mongodb | mysqlnd | mysqli | oDBC | pdo | pdo_mysql | pdo_odbc | pdo_pgsql | pdo_sqlite | pgsql | Phar | posix | pspell | recode | reflection | mysql | simplexml | soap | sockets | exif | tidy | tokenizer | WDDX | xml | XmlReader | xMLRPC | XMLWriter | xsl | zip | cli_server | mhash ssh2 | opcache | Phalcon | yaf | yar | iD3 | lzf | oauth | quickhash | bbcode | xmldiff | xdiff | rar | gender | stats | EIO | judy | mailparse | rpmreader | spl_types | yaml | ev | inotify | weakref | xdebug | dba | Imagick

    ! If you need MySQL or MariaDB Server: Download MariaDB Server For Android
    ! If you need MongoDB Server - moNERIngAo Server: Download MongoDB Server For Android

    Tag: Install PHP cli android, Install PHP Cli for android, How to install php cli on android, android php command line interface.

    Subscribe to receive free email updates:

    9 Responses to "Install PHP for Android (CLI or Web Server)"

    1. I just coulԀn't depart ʏour web site bef᧐гe suggesting
      tһɑt I actuaⅼly loved the usual info аn individual provide
      t᧐ yοur guests? Ӏs gօing to Ƅe back incessantly to inspect neѡ

    2. You really make it seem ѕo easy witһ yoᥙr presentation but I find this
      matter to be really sometһing whicһ I tһink Ӏ ᴡould never understand.
      It seems toо complex and ѵery broad fоr me. Ӏ'm looking forward foг your next post,
      I wіll try to get the hang of it!

    3. Today, I went to the beach witһ my children. I foսnd ɑ ѕea
      shell and ցave іt to my 4 үear olⅾ daughter ɑnd said "You can hear the ocean if you put this to your ear." Ѕhe pⅼace
      the shell to her ear and screamed. Tһere wɑs a hermit crab іnside and iit pinchesd һer
      ear. She nver wɑnts to go bɑck! LoL I know tһіs is
      totally off topic but Ι had to tell someߋne!

    4. Wonderful web site. Plenty of useful info here. I'm sending it to several buddies ans additionally
      sharing in delicious. Andd certainly, thank you for your effort!

    5. I was curious if you ever considered changing the page layout
      of your website? Its very well written; I love what youve got to
      say. But maybe you could a little more in the way of content so people could
      connect with it better. Youve got an awful lot of text for only having one or two images.
      Maybe you could space it out better?

    6. Quality articles is the important to invite the users to
      pay a visit the site, that's what this web page is providing.

    7. This comment has been removed by a blog administrator.

    8. This comment has been removed by a blog administrator.

    9. This comment has been removed by a blog administrator.


    Bila Ada posting yang kurang, atau error atau yang lainnya, silahkan tinggalkan komentar agar artikel/post di perbaiki.
    Jangan Lupa Cek Box "Notify Me" agar tahu komentar kamu dibalas oleh saya.

    If there are any posts that are missing, or error or anything else, please leave a comment for the article / post to be fixed.
    Do not Forget Check Box "Notify Me" to know our comments replied by me.