Skip to content

Instantly share code, notes, and snippets.

@vutran
Last active August 29, 2015 13:58
Show Gist options
  • Save vutran/10288450 to your computer and use it in GitHub Desktop.
Save vutran/10288450 to your computer and use it in GitHub Desktop.
Install Nginx; PHP 5.4 (FPM); and some PHP extensions (imagick, xdebug, mysql)
# Install PHP 5.5 with FPM and MySQL extension
brew install --without-apache --with-fpm --with-mysql --with-phpdbg php55
# Install PHP 5.5 extensions
brew install php55-imagick php55-xdebug
# Install Nginx
brew install --with-debug nginx
# Install MySQL
brew install mysql
# Create a symlink
ln -s /usr/bin/php /usr/local/bin/php
ln -s /usr/sbin/php-fpm /usr/local/sbin/php-fpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment