Home  >  Article  >  Backend Development  >  php-cgi.exe怎样加到windows服务里面,该怎么处理

php-cgi.exe怎样加到windows服务里面,该怎么处理

WBOY
WBOYOriginal
2016-06-13 10:08:19914browse

php-cgi.exe怎样加到windows服务里面
php-cgi.exe怎样加到windows服务里面,php+nginx整合遇到的问题

------解决方案--------------------
完全不是一个概念,php-cgi是一个应用程序,服务是一种特殊的程序,和应用程序就不在一个层级上运行,
php-cgi的说明也没有说是可以添加到服务中的参数

1.windows下应该有类似于php-fpm类似的fastcgi进程管理工具,你可以在注册表中添加相关的启动项来管理fastcgi,但是不一定需要服务。
  
2.你可以拿VC自己写个服务然后在服务中启动进程

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn