V
V
Vladimir2015-02-06 22:46:16
macOS
Vladimir, 2015-02-06 22:46:16

Why can't php-fpm run on mac yosemite?

Hello! I'm trying to set up nginx php-fpm on mac os yosemite, I installed packages through the package manager (Homebrew). Nginx installed without problems and works, but php-fpm still couldn't start, after installation it gives two errors at once!

Error: An unexpected error occurred during the `brew link` step
The formula built, but is not symlinked into /usr/local
Directory not empty - /usr/local/opt/php55
Error: Directory not empty - /usr/local/opt/php55

I try to restart, writes that the service is not found!
Team
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist

Mistake
/usr/local/Cellar/php55/5.5.21/homebrew.mxcl.php55.plist: Could not find specified service

If anyone has set up please tell me what could be the problem! Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Don Kaban, 2015-02-07
@donkaban

brew link package name, you should have read the error text, helps
/usr/local/opt/php55 already exists, make a symlink by hand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question