Win10下启动Nginx+php cgi 的代码笔记

I:\php\nginx-1.18.0>
start nginx 启动
nginx.exe -s stop 停止
nginx.exe -s quit 退出
nginx.exe -s reload 重新加载配置

打开windows命令窗口,执行以下命令,查看nginx的进程:
tasklist /fi “imagename eq nginx.exe”

I:\php\php-7.4.9-Win>php-cgi.exe -b 127.0.0.1:9000

ts : thread-safe
nts : no-thread-safe

I:
cd php\nginx-1.18.0
start nginx
cd ..
cd php-7.4.9-Win
php-cgi.exe -b 127.0.0.1:9000

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注