Ubuntu php install

Ubuntu php install

Ubuntu에다가 워드프레스를 설치하기위해 서버설치하다가
php install 부분에서 궁금한점이 생겼다.

php7.0
php7.0-fpm
php7.0-mysql
php7.0-mbstring
php7.0-common
php7.0-gd
php7.0-json
php7.0-mcrypt
php-gettext
php7.0-curl
php7.0-cli
php7.0-xml

각각 어떤 역활을하는 것일까?

php-fpm
여러가지 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.

By | 2018-05-29T18:36:20+00:00 5월 27th, 2018|Wordpress|0 Comments

About the Author:

DAN

Leave A Comment