Skip to content

Instantly share code, notes, and snippets.

@wenzhixin
Last active June 6, 2016 18:38
Show Gist options
  • Save wenzhixin/297ab9f8abd040b3a69b to your computer and use it in GitHub Desktop.
Save wenzhixin/297ab9f8abd040b3a69b to your computer and use it in GitHub Desktop.
MAC install nginx + php-fpm

nginx

brew install nginx

config

vi /usr/local/etc/nginx/

reload / restart

nginx -s reload/restart

php-fpm

add homebrew

brew tap homebrew/dupes
brew tap homebrew/php

install

brew install --without-apache --with-fpm --with-mysql php56

php config

vi /usr/local/etc/php/php.ini

start

mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/php56/homebrew.mxcl.php56.plist ~/Library/LaunchAgents/

# stop
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist
# start
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist
@roperw42
Copy link

roperw42 commented Jun 6, 2016

I have virtual box with Oracle Linux 7.2. I'm trying to get Oracle 12c SQL Developer to work with the SDK 8. What is the secret for a linux newbee to un-tar.gz the SDK so SQL Developer will work? Walter [email protected] (University of Illinois)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment