Thanks to Kevin Worthington for his installation instructions. Comments are closed on his post so I’ve added these notes to my own blog.
Kevin’s instructions worked for the most part, with the exception of adding /usr/local
to my PATH
. Running which nginx
showed it could not locate nginx, I found the executable resides in /usr/local/sbin
and so added this directory in place of /usr/local
nginx
was then available:
$ . ~/.profile $ which nginx /usr/local/sbin/nginx
I installed more recent versions of PCRE and nginx: PCRE 8.20 and nginx 1.0.11 – maybe this had some bearing on executable location. Public gist of commands.
Tweet
comments
I’ve not tried these myself but Hunter Ford has some instructions on running nginx at start up:
http://hunterford.me/nginx-startup-script-for-mac-os-x/
There’s a great tutorial below on compiling PHP with Fast CGI support to work with nginx:
http://www.command-tab.com/2011/06/20/true-php-debugging-with-nginx-and-php-fpm/