Skip to content

Instantly share code, notes, and snippets.

@navjotjsingh
Last active September 1, 2019 19:30
Show Gist options
  • Save navjotjsingh/642113c000b5ed118dab4be031a28ce7 to your computer and use it in GitHub Desktop.
Save navjotjsingh/642113c000b5ed118dab4be031a28ce7 to your computer and use it in GitHub Desktop.
PHP-CGI Service for Windows
<service>
<id>PHP</id>
<name>PHP</name>
<description>PHP</description>
<executable>C:\nginx\php\php-cgi.exe</executable>
<stopexecutable>C:\nginx\php\php-stop.cmd</stopexecutable>
<env name="PHPRC" value="c:\nginx\php" />
<logpath>C:\nginx\logs\php</logpath>
<logmode>roll</logmode>
<startargument>-b9999</startargument>
<startargument>-cc:\nginx\php\php.ini</startargument>
</service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment