PHP + Lighttpd for Android

http://wkt55555.blog.163.com/blog/static/44515259201461255249642/

安装包内容:
$ tar -tf ~/tmp/data_web.tar 
./
./data/
./data/opt/
./data/opt/etc/
./data/opt/etc/lighttpd/
./data/opt/etc/lighttpd/conf.d/
./data/opt/etc/lighttpd/conf.d/mime.conf
./data/opt/etc/lighttpd/lighttpd.conf
./data/opt/etc/php/
./data/opt/etc/php/conf.d/
./data/opt/etc/php/conf.d/test.ini
./data/opt/etc/php/cgi/
./data/opt/etc/php/cgi/php.ini
./data/opt/etc/remove.lighttpd
./data/opt/sbin/
./data/opt/sbin/lighttpd
./data/opt/sbin/lighttpd-angel
./data/opt/sbin/lighttpd_enable_confd
./data/opt/sbin/starthttpd.sh
./data/opt/lib/
./data/opt/lib/php/
./data/opt/php/
./data/opt/share/
./data/opt/share/php/
./data/opt/bin/
./data/opt/bin/php-cgi
./data/www/
./data/www/info.php
./data/www/test.php
./data/local/
./data/local/lighttpd/
./data/local/lighttpd/uploads/
./data/local/lighttpd/compress/

安装:
#busybox tar -xf /dir_path/data_web.tar  -C /

启动lighttpd:
#busybox sh /data/opt/sbin/starthttpd.sh

删除:
#busybox sh /data/opt/etc/remove.lighttpd

站点根目录:
/data/www/

PHP版本:
#/data/opt/bin/php-cgi -v
PHP 5.5.9 (cgi-fcgi) (built: Jul 12 2014 17:13:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

PHP模块:
#/data/opt/bin/php-cgi -m
[PHP Modules]
bcmath
cgi-fcgi
Core
date
ereg
exif
json
libxml
mbstring
mysql
mysqli
mysqlnd
pcre
PDO
pdo_mysql
pdo_sqlite
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
xml
xmlreader
xmlwriter

[Zend Modules]


lighttpd版本信息:
#/data/opt/sbin/lighttpd -V
lighttpd/1.4.35 - a light and fast webserver
Build-Date: Jul 12 2014 17:13:33

Event Handlers:

+ select (generic)
+ poll (Unix)
- rt-signals (Linux 2.4+)
+ epoll (Linux 2.6)
- /dev/poll (Solaris)
- eventports (Solaris)
- kqueue (FreeBSD)
- libev (generic)

Network handler:

- linux-sendfile
- freebsd-sendfile
- solaris-sendfilev
+ writev
+ write
- mmap support

Features:

+ IPv6 support
+ zlib support
- bzip2 support
- crypt support
- SSL Support
+ PCRE support
- mySQL support
- LDAP support
- memcached support
- FAM support
- LUA support
- xml support
- SQLite support
- GDBM support

其他一些信息:
$curl -v http://192.168.1.235
* Rebuilt URL to: http://192.168.1.235/
* Hostname was NOT found in DNS cache
*   Trying 192.168.1.235...
* Connected to 192.168.1.235 (192.168.1.235) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 192.168.1.235
> Accept: */*
< HTTP/1.1 200 OK
< Content-Type: text/html; charset=UTF-8
< Content-Length: 1681
< Date: Sat, 12 Jul 2014 09:37:20 GMT
* Server lighttpd/android is not blacklisted
< Server: lighttpd/android
PHP + Lighttpd for Android - wkt55555 - wkt的博客
 

测试环境:
    红米1S,几块山寨平板(瑞芯微,全志)

下载地址:data_web.tar

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(33) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
posted @ 2016-02-01 00:00  张同光  阅读(82)  评论(0编辑  收藏  举报