Home > Backend Development > PHP Tutorial > Android下安装apache、mysql、php环境

Android下安装apache、mysql、php环境

WBOY
Release: 2016-06-06 20:51:31
Original
1625 people have browsed it

如题,有详细的教程不?

回复内容:

如题,有详细的教程不?

用chroot可以跑一个debian

http://evilzone.org/android/debian-on...
http://www.android-devs.com/?p=152

没开玩笑?

好吧,没试过,不过可以说了建议:
1>android一般来说都是java的,至少一般程序/服务都是通过前端的java层启动的,当然C端也可以自启动,但是不常见.假设你搞定了启动服务这块
2>apache、mysql、php的服务需要找对应cpu的版本,一般的arm版本就可以,这个还是比较多的,我的nas上就是arm的
3>然后就是跑起来,看看还有啥问题

Ubuntu Linux x86上用arm-none-linux-gnueabi或者arm-linux-musleabi或者Android NDK交叉编译就能构建Android ARM版本PHP.
KSWeb和Anmpp都是Android上的PHP打包,可以用手机搭Web服务器.
PHP开发者使用PHPDroid还能基于PHP+WebView开发Android应用.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template