Skip to content

Instantly share code, notes, and snippets.

@halcyonCorsair
Created January 26, 2012 08:08
Show Gist options
  • Select an option

  • Save halcyonCorsair/1681635 to your computer and use it in GitHub Desktop.

Select an option

Save halcyonCorsair/1681635 to your computer and use it in GitHub Desktop.
php-fpm plist file for homebrew
<?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>KeepAlive</key>
<true/>
<key>Label</key>
<string>org.homebrew.php-fpm</string>
<key>LaunchOnlyOnce</key>
<true/>
<key>NetworkState</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/sbin/php-fpm</string>
<string>-y</string>
<string>/usr/local/etc/php-fpm.conf</string>
<string>-g</string>
<string>/usr/local/var/run/php-fpm.pid</string>
<string>-c</string>
<string>/usr/local/etc/php.ini</string>
</array>
<key>StandardErrorPath</key>
<string>/var/log/nginx/php-fpm.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment