huhahapz 发表于 2018-12-23 14:59:15

lighttpd php 整合

  ./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",
  )

页: [1]
查看完整版本: lighttpd php 整合