Skip to content

Instantly share code, notes, and snippets.

@vutranvn
Created October 27, 2014 04:57
Show Gist options
  • Save vutranvn/390222880d461313e007 to your computer and use it in GitHub Desktop.
Save vutranvn/390222880d461313e007 to your computer and use it in GitHub Desktop.
Config php-fpm on OS X (Still error)
location ~ \.php$ {
try_files $uri = 404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment