Skip to content

Instantly share code, notes, and snippets.

@joemccann
Created October 28, 2010 21:28
Show Gist options
  • Save joemccann/652368 to your computer and use it in GitHub Desktop.
Save joemccann/652368 to your computer and use it in GitHub Desktop.
Run this to "flash" your PHP process when it is spun up using nginx. If you modify your PHP.INI you need to do this.
/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f /usr/bin/php5-cgi -P /var/run/fastcgi-php.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment