看板 FreeBSD 關於我們 聯絡資訊
% 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