お知らせ
現在サイトのリニューアル作業中のため、表示が崩れているページが存在することがあります。
| Env | Ver |
|---|---|
| Windows | 10 pro |
| PHP | 8.0.2 NTS Visual C++ 2019 x64 |
| nginx | 1.19.8 |
nginx.confを開きFastCGI server listening on 127.0.0.1:9000辺りに次の設定をするlocation ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME C:/nginx/html/$fastcgi_script_name;
include fastcgi_params;
}
.phpファイルを配置nginxを起動php-cgi.exe -b 127.0.0.1:9000.phpファイルにアクセス