1024programmer PHP How to add php-cgi.exe to windows service and how to deal with it

How to add php-cgi.exe to windows service and how to deal with it

How to add php-cgi.exe to windows service
How to add php-cgi.exe to windows service, problems encountered in php+nginx integration

——Solution——————–
It’s not the same concept at all. php-cgi is an application, and the service is a special program that does not run at the same level as the application.
The description of php-cgi does not say that it can be added to the service. Parameters

1. There should be a fastcgi process management tool similar to php-fpm under Windows. You can add relevant startup items in the registry to manage fastcgi, but a service is not necessarily required.

2. You can use VC to write a service yourself and then start the process in the service

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/how-to-add-php-cgi-exe-to-windows-service-and-how-to-deal-with-it-2/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: 34331943@QQ.com

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索