I'm trying to start
Running directly from the command line is no problem:
$ /usr/sbin/php-fpm -p /Users/dmitry -e
Here's the contents of
<?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>Label</key> <string>dminkovsky.php-fpm</string> <key>ProgramArguments</key> <array> <string>/usr/sbin/php-fpm</string> <string>-p</string> <string>/Users/dmitry/var</string> <string>-e</string> </array> <key>EnableGlobbing</key> <true/> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <true/> </dict> </plist>
For some reason the process doesn't start with this
.plist. Nothing is logged, either, so I don't know why. In
/var/log/system.log, I have:
Nov 18 08:38:30 airosol com.apple.launchd.peruser.503 (dminkovsky.php-fpm): Exited with code: 78 Nov 18 08:38:30 airosol com.apple.launchd.peruser.503 (dminkovsky.php-fpm): Throttling respawn: Will start in 10 seconds
I don't know where to take it from here though.
- Googled around for the meaning of exit code
78. Found out it's in a non-reserved range of exit codes.
- I don't know what to do with the contents of
- Tried to get some more logging with advice from http://stackoverflow.com/questions/8677493/php-fpm-doesnt-write-to-error-log, but that didn't work.
Most oddly, this
.plist used to work before upgrading to Mavericks.