作者wes13 (wes13)
站内FreeBSD
标题[问题] lighttpd with php 安装
时间Fri Dec 7 11:09:54 2007
想将 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.127.179.155