mod配置:
server.modules = (
"mod_rewrite",
"mod_fastcgi",
# ……
)
端口配置:
注:端口配置爲80之前,應確保openwrt 默認web管理所使用的uhtttpd端口改動到其它端口
## bind to port (default: 80)
server.port = 80
PHP fast-cgi配置:
fastcgi.server=(
".php" => (
"localhost" => (
"socket" => "/tmp/php-fasicgi.socket",
"bin-path" => "/usr/bin/php-fcgi"
)
)
)