Ubuntu에다가 워드프레스를 설치하기위해 서버설치하다가
php install 부분에서 궁금한점이 생겼다.
각각 어떤 역활을하는 것일까?
여러가지 PHP 버전을 하나의 서버에서 운영해야 하는 경우
1대의 웹서버에서 포트별로 php 버전을 달리 설정할수 있다
What is PHP-FPM?
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.
These features include:
- Adaptive process spawning (NEW!)
- Basic statistics (ala Apache’s mod_status) (NEW!)
- Advanced process management with graceful stop/start
- Ability to start workers with different uid/gid/chroot/environment and different php.ini (replaces safe_mode)
Stdout & stderr logging
- Emergency restart in case of accidental opcode cache destruction
- Accelerated upload support
- Support for a “slowlog”
- Enhancements to FastCGI, such as fastcgi_finish_request() – a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)
… and much more.
It was not designed with virtual hosting in mind (large amounts of pools) however it can be adapted for any usage model.