Note that the installiation of nginx+php5 on MACOSX IS NOT RECOMMENDED unless you know what you're trying to do.
- both services are going to be running as root
- there is no configuration file set for php-cgi53
Tested on OSX 10.10.2 (Yosemite)
Refer to https://gist.github.com/renjunkui/1267057 for lower versions of MACOSX.
# install MacPorts at http://www.macports.org/install.php