nginx, rails, php in leopard
I went on 2-day hackfest last weekend to run nginx, rails on php my macbook with a little help from lighttpd. Most of the time was eaten by compiling php -disable cli if building cgi with fastcgi- and writing shell scripts to manage nginx and spawn-cgi (from lighty). Nifty trick I learn when compiling in mac, use the configs from macports.
April 4th, 2008 at 12:34 am
If you’re interested, I just posted an article about installing nginx with php-fcgi on Mac OS X. Rails is covered elsewhere, but there isn’t very much out there on the blogosphere right now for nginx-PHP-Mac setups.
You know, just in case you would want to parse the occasional PHP page in your dev environment
April 4th, 2008 at 10:17 pm
@stephen:
Thanks, I did use macports to install them before but I try to compile everything now. Yeah, I still and do develop PHP apps. Got it running thru spawn-fcgi from lighttpd. But for those not willing to waste time figuring out dependencies and just needs to get something developed and done right away, macports is great.