15. PHP-FPM
• PHP FastCGI Process Manager
• Master process -> Child process
!
!
Master
Child
Child
Child
16. PHP-FPM - install
• Ubuntu 14.04 -> apt-get -> v5.5.9
• newer version -> read the book
• Or Google
“how to install latest php on …”
• Or build php from source
19. PHP-FPM - Global Configuration
• emergency_restart_threshold = 10
• emergency_restart_interval = 1m
What this mean? So if 10 PHP-FPM child
processes exit with SIGSEGV or SIGBUS within
1 minute then PHP-FPM restart automatically.
32. Nginx - install
• Ubuntu 14.04 -> apt-get -> v1.4.6
• newer version -> read the book
• Or Google
“how to install latest Nginx on …”
• Or build Nginx from source
49. Further Reading
The best system administration learning
resource for developers.
Servers for Hackers by Chris Fidao
• Website
(https://serversforhackers.com/)
• ebook
(https://book.serversforhackers.com/)
agree