Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created December 10, 2011 02:20
Show Gist options
  • Save slywalker/1454319 to your computer and use it in GitHub Desktop.
Save slywalker/1454319 to your computer and use it in GitHub Desktop.
macports php5+fastcgi plist
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
<plist version='1.0'>
<dict>
<key>Label</key><string>org.macports.php-fastcgi</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/bin/daemondo</string>
<string>--label=php-cgi</string>
<string>--start-cmd</string>
<string>/opt/local/bin/php-cgi</string>
<string>-q</string>
<string>-b</string>
<string>127.0.0.1:9000</string>
<string>;</string>
</array>
<key>Debug</key><false/>
<key>Disabled</key><true/>
<key>KeepAlive</key><true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment