继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

lighttpd php 整合

英明神武的牛
关注TA
已关注
手记 317
粉丝 30
获赞 175

./configure  --prefix=/home/php5  --enable-fastcgi  --enable-force-cgi-redirect  --enable-soap 

#支持 fastcgi


lighttpd.conf配置

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
            fastcgi.server  = ( ".php" =>
                                (
                                   (  
                                      "host" => "127.0.0.1",
                                      "port" => 1026,
                                      "bin-path" => "/usr/local/bin/php-cgi"
                                    )
                                 )
                               )

modules.conf配置

server.modules              = (
                                "mod_access",
                                "mod_fastcgi",
                               )


打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP