Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6660247
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: PHP

2015-10-21 23:24:32

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
* Rebuilt URL to: /
* 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,几块山寨平板(瑞芯微,全志)

下载地址:

阅读(923) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~