Tag Archives: fastcgi

在 Gentoo 上安装 Nginx + php

从源码安装 Nginx ./configure –prefix=/usr –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx_error.log –http-log-path=/var/log/nginx_access.log –pid-path=/var/run/nginx.pid –http-client-body-temp-path=/var/tmp/nginx_client_body.tmp –http-proxy-temp-path=/var/tmp/nginx_proxy.tmp –http-fastcgi-temp-path=/var/tmp/nginx_fastcgi.tmp –with-http_stub_status_module –with-http_ssl_module –with-openssl=/usr/src/openssl (启用了监控和ssl模块,重新设置文件路径) make make install 注意,–with-openssl 指向的是 Continue Reading →