Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run as service #5

Closed
tarreislam opened this issue Aug 12, 2016 · 3 comments
Closed

Run as service #5

tarreislam opened this issue Aug 12, 2016 · 3 comments

Comments

@tarreislam
Copy link

Hey, I have been looking for something like this for a long time, it is really great, but to use this as an WINDOWS service would be even better, do you have any plans on doing this or is it even possible to use a service wrapper with this?

@deemru
Copy link
Owner

deemru commented Aug 12, 2016

Thanks, but:

  • Developers of PHP 7.1 finally applied the same process spawning technic to php-cgi for Windows to support concurrent processing of multiple requests natively (see CreateProcess at cgi_main.c)
  • There is no plan to develop this app any further or info about service wrappers

@tarreislam
Copy link
Author

tarreislam commented Aug 12, 2016

Thats great, but 7.1 is not in release yet. Anyway i found out it is possible to wrap it and run your program as a Service, it could be useful to people stuck < php 7

Nssm install "Php-cgi-spawner" "php-cgi-spawner.exe" "\"core/php/php-cgi.exe -c core/php/php.ini\" 9000 5"

https://nssm.cc/ ( the Non-Sucking Service Manager)

@deemru
Copy link
Owner

deemru commented Aug 12, 2016

Thank you, solved

@deemru deemru closed this as completed Aug 12, 2016
@deemru deemru changed the title Service support Run as service Aug 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants