debian lighttpd 1.5. r1922 +mysql+php ???
Posted by Chinahcnet Chinahcnet on 18.10.2007 15:33
Attachment: lighttpd.conf.txt
shell> groupadd lighttpd
shell> useradd -g lighttpd -s /sbin/nologin -d /dev/null lighttpd
//建运行lighttpd的用户和组
shell> tar jfvx lighttpd-1.5.1922.tar.gz //解压缩
shell> cd lighttpd
shell> ./configure --prefix=/usr/local/lighttpd
//配置prefi指
安装位置
shell> make //编译
shell> make install
//编译安装
shell> mkdir /usr/local/lighttpd/conf //
创建lighttpd配置文件存放路径
shell> mkdir /usr/local/lighttpd/log //
创建日志路径
shell> mv ./doc/lighttpd.conf /usr/local/lighttpd/conf/
//lighttpd配
置文件存放路径
shell> cp ./doc/spawn-php.sh /usr/local/lighttpd/bin/
shell> chown -R lighttpd:lighttpd /usr/local/lighttpd
shell> /usr/local/lighttpd/sbin/lighttpd -f
/usr/local/lighttpd/conf/lighttpd.conf //启动LIGHTTPD WEB服务器
######## error ##################
www:~# /usr/local/lighttpd/sbin/lighttpd -f
/usr/local/lighttpd/conf/lighttpd.conf
configfile-glue.c.169: (error) found deprecated key in
'proxy-core.check-local' = 'use $PHYSICAL["existing-path"] =~ ... { ...
} instead'
mod_proxy_core_address.c.63: (trace) adding unix:/tmp/php-fastcgi.sock
to the address-pool
2007-10-18 23:33:38: (server.c.1481) Configuration contains deprecated
keys. Going down.
why????????
'use $PHYSICAL["existing-path"] error!!!!! |