Skip to content

Instantly share code, notes, and snippets.

@jbraithwaite
Created May 16, 2014 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbraithwaite/e0475df46f2e8a31eb26 to your computer and use it in GitHub Desktop.
Save jbraithwaite/e0475df46f2e8a31eb26 to your computer and use it in GitHub Desktop.
Launch Agent for PHP-FPM on OS X
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>org.php.php-fpm</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/php-fpm</string>
<string>--php-ini</string>
<string>/usr/local/php/php.ini</string>
<string>--nodaemonize</string>
</array>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/php-fpm.log</string>
<key>WorkingDirectory</key>
<string>/usr/local</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment