Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 439 Bytes

cheatsheet.md

File metadata and controls

22 lines (13 loc) · 439 Bytes

PHP FPM cheatsheet

Global directives

php-fpm.conf

Not many options, generally not touched

Pool directives

Default is www.conf

Create more, named {{example}}.conf

All are automatically imported

Nginx references the www.conf with fastcgi_pass unix:/var/run/php5-fpm.sock;

Nginx can reference a custom pool with: fastcgi_pass unix:/var/run/php5-fpm.{{example}}.sock;