lighttpd with php 安裝 - BBS
By Isabella
at 2007-12-07T11:09
at 2007-12-07T11:09
Table of Contents
想將 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 模式
謝謝
--
到 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 模式
謝謝
--
Tags:
BBS
All Comments
Related Posts
請問在 ports 裡 make config後...
By Noah
at 2007-12-06T23:42
at 2007-12-06T23:42
SATA on BSD
By Barb Cronin
at 2007-12-06T19:45
at 2007-12-06T19:45
No buffer space available
By Kumar
at 2007-12-06T17:47
at 2007-12-06T17:47
不知道freebsd的gcc specs放在那裡
By John
at 2007-12-06T09:20
at 2007-12-06T09:20
請問沒辦法顯示目前在哪個目錄下,要怎묠…
By Linda
at 2007-12-04T02:54
at 2007-12-04T02:54