Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.