逍遥游戏社区 1.0 beta  游戏博客 相册 圈子 帮助
http://blog.xoyo.com/dcyhldcyhl  [加为友情链接]  [加为收藏]
潮起
网际旋风的Blog
学艺要精,专注LAMP
文章分类
全部文章(74)
投稿文章(0)
mysql(7)
linux(29)
apache(1)
php(8)
生活(6)
javascript(5)
最新评论
网页正文全文宽:document.body....
function getOs() { if(nav...
感觉不错,研究一下,
mysql密码忘记怎么办? 如...
lighttpd -D ../lib -f conf/lig...
mirrorbinlog可以解决各IDC直接r...
附上175的err记录 /usr/local/...
附上176的err文件记录 070511 ...
今天下午总结了一下,有时lightt...
http://down1.chinaunix.net/dis...
最新留言
清风狂风祝您 中秋快乐! 金山...
过来占楼 呵呵~~~
php lighttpd 的configure配置参数
 [收藏本文]

lighttpd1.4.18
./configure --prefix=/opt/modules/lighttpd --disable-ipv6 --with-pcre --with-linux-aio

php 5.2.0

./configure --prefix=/opt/modules/lighttpd/php5 --with-mysql=/opt/modules/mysql --enable-track-vars --enable-calendar --enable-trans-sid --with-gettext --enable-gd-native-ttf --enable-sysvmsg --enable-sockets --with-zlib --with-gd --with-ttf=/usr/lib --with-gdbm-dir=/usr/local/lib --with-tiff-dir=/usr/lib --with-jpeg-dir=/usr --with-png --with-freetype-dir=/usr/local --enable-bcmath --enable-safe-mode --enable-mbstring --with-curl --with-curlwrappers --without-iconv --enable-ftp --enable-wddx--disable-debug --with-dom=/usr/local --enable-fastcgi --enable-discard-path --enable-force-redirect --enable-mbstring

启动角本
#!/bin/sh
#
# lighttpd     Startup script for the lighttpd server
#
# chkconfig: - 85 15
# description: Lightning fast webserver with light system requirements
#
# processname: lighttpd
# config: /etc/lighttpd/lighttpd.conf
# config: /etc/sysconfig/lighttpd
# pidfile: /var/run/lighttpd.pid
#
# Note: pidfile is assumed to be created
# by lighttpd (config: server.pid-file).
# If not, uncomment 'pidof' line.

# Source function library
. /etc/rc.d/init.d/functions

if [ -f /etc/sysconfig/lighttpd ]; then
        . /etc/sysconfig/lighttpd
fi

if [ -z "$LIGHTTPD_CONF_PATH" ]; then
        LIGHTTPD_CONF_PATH="/opt/modules/lighttpd/etc/lighttpd.conf"
fi

prog="lighttpd"
lighttpd="/opt/modules/lighttpd/sbin/lighttpd"
RETVAL=0

start() {
        echo -n $"Starting $prog: "
        daemon $lighttpd -f $LIGHTTPD_CONF_PATH
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
        return $RETVAL
}

stop() {
        echo -n $"Stopping $prog: "
        killproc $lighttpd
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
        return $RETVAL
}

reload() {
        echo -n $"Reloading $prog: "
        killproc $lighttpd -HUP
        RETVAL=$?
        echo
        return $RETVAL
}

case "$1" in
        start)
                start
                ;;
        stop)
                stop
                ;;
        restart)
                stop
                start
                ;;
        condrestart)
                if [ -f /var/lock/subsys/$prog ]; then
                        stop
                        start
                fi
                ;;
        reload)
                reload
                ;;
        status)
                status $lighttpd
                RETVAL=$?
                ;;
        *)
                echo $"Usage: $0 {start|stop|restart|condrestart|reload|status}"
                RETVAL=1
esac

exit $RETVAL



无写权限

cp php-dist.ini  /opt/modules/php/lib/php.ini


lighttpd日志访问权限 用户组

网际旋风发布于 2007-11-06 13:13:01   阅读(50)  评论(7)  类别[无]
评论
我有话要说
昵称:
主页:
验证码:
内容:
 
禁用表情:
 
Copyright © 2006-2009 xoyo.com, All rights reserved