pecl install win32service

A Windows specific extension to allow PHP to interact with Windows Services.

The win32service extension is a Windows specific extension that allows PHP to communicate with the Service
Control Manager to start, stop, register and unregister services, and even allows your PHP scripts to run as a

Version 1.0.2 change log

* Rewrite some code (espectaly if/else instruction).
* Add more detail in exception message.
* Fix recovery settings error (issue [#71](
The binary is also available here:


  • Richard Quadling (lead ) [inactive]
  • Jean-Baptiste Nahan (lead )
  • Jean-Baptiste Nahan (lead )



Stars: 46
Issue openned: 2
Downloads: 20264
1 year ago


  • php >=8.0.0
  • pearinstaller >=1.4.8
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.