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 http://blog.snfr.cf or
http://secretnetworkforces.blogspot.com

How to install php5-cli in android
Requirement:
- Busybox For Programming Support ( Read And See Here)
- Terminal Emulator ( Download Terminal Emulator)
-
Code BB For PHP Server ( Download Server For PHP APK )
- Internal min ± 300 MB free
- 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:
Or you can also manually set permissions 755 in /data/data/com.eminis.server.php/ all the files in the folder "files" and "lib"
su
data="/data/data/com.eminis.server.php"
chmod 755 $data/files/*
chmod 755 $data/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 |
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
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
! If you need MongoDB Server - moNERIngAo Server: Download MongoDB Server For Android
So I Install PHP in Android |
Php run in a terminal emulator android . Hope it helps, when confused comments only. Or call me
at Dimas Imam Nawawi (Dimas Lanjaka) .
Tag: Install PHP cli android, Install PHP Cli for android, How to install php cli on android, android php command line interface.
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.