作者AlanSung (可耻兴农牛球团)
看板FreeBSD
标题Re: [问题] lighttpd with php 安装
时间Fri Dec 7 11:29:10 2007
% php-cgi -v
※ 引述《wes13 (wes13)》之铭言:
: 想将 lighttpd 加上 php
: 到 php5 ports 下 make config
: 选了这些
: [X] CLI Build CLI version
: [X] CGI Build CGI version
: [X] SUHOSIN Enable Suhosin protection system
: [X] IPV6 Enable ipv6 support
: [X] FASTCGI Enable fastcgi support (CGI only)
: [X] PATHINFO Enable path-info-check support (CGI only)
: 然後 make install
: 安装好後重新启动 lighttpd 却跑不起来
: 错误讯息里面提到
: You can find out if it is the right one by executing 'php -v' and it should
: display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
: 照着说明执行 php -v
: 出现
: PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli)
: 请问要如何设定才能将php
: 由 cli 改成 cgi-fcgi 模式
: 谢谢
--
静女其姝 俟我於城隅 爱而不见 搔首踟蹰
静女其娈 贻我彤管 彤管有炜 说怿女美
自牧归荑 洵美且异 匪女以为美 美人之贻
静女/邶风
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.17.209