我要疯狂:错误:无法加载配置文件'/private/etc/php-fpm.conf'homebrew

I was able to successfully install php54 with fpm and with mysql onto my system. However, when I try to start the server by running php-fpm in terminal I get an error saying...

1.ERROR: failed to open configuration file '/private/etc/php-fpm.conf': No such file or directory (2)

2.ERROR: failed to load configuration file '/private/etc/php-fpm.conf'

3.ERROR: FPM initialization failed

However, my php-fpm.conf file is located in this directory: /usr/local/etc/php/5.4/php-fpm.conf. I'm not really sure what to do at this point. I'm going crazy and could use help out there. Can anyone point me in the right direction. I am running the latest version of Mountain Lion and have installed the latest command line tools.

The php-fpm binary expects php-fpm.conf file to read the configuration when it starts up. On Max OSX by default this file is named as "/private/etc/php-fpm.conf.default" Change/copy it to "php-fpm.conf" from "php-fpm.conf.default"

cp /private/etc/php-fpm.conf.default /private/etc/php-fpm.conf

And then restart the service