Skip to content

Instantly share code, notes, and snippets.

@koryonik
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koryonik/989dbf2f401d923f04eb to your computer and use it in GitHub Desktop.
Save koryonik/989dbf2f401d923f04eb to your computer and use it in GitHub Desktop.
#install gearman server and libs
brew update
brew install gearman
# fixe perms if brew linking failed (http://stackoverflow.com/questions/26647412/homebrew-could-not-symlink-usr-local-bin-is-not-writable)
sudo chown damien:admin /usr/local/sbin
brew link gearman
# install php gearman extension
pecl install gearman
echo "extension=\"/usr/local/Cellar/php55/5.5.17/lib/php/extensions/no-debug-non-zts-20121212/gearman.so\"" > /usr/local/etc/php/5.5/conf.d/gearman.ini
apachectl restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment