Apache2 MPM (다중처리모듈) 변경하기 (prefork , worker, event)

Apache2 MPM (다중처리모듈) 변경하기 (prefork , worker, event)

root@www:/#

root@www:/# apt-get update

Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]

Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease

Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]

Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [745 kB]

[이하생략]

......

root@www:/#

root@www:/# apt-get install php-fpm

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

libccid libpcsclite1 opensc opensc-pkcs11 pcscd

Use 'apt autoremove' to remove them.

The following additional packages will be installed:

libapache2-mod-php7.4 php7.4-bcmath php7.4-bz2 php7.4-cli php7.4-common php7.4-fpm php7.4-gd

php7.4-imap php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-pspell

php7.4-readline php7.4-xml php7.4-xmlrpc php7.4-zip

[이하생략]

......

NOTICE: Not enabling PHP 7.4 FPM by default.

NOTICE: To enable PHP 7.4 FPM in Apache2 do:

NOTICE: a2enmod proxy_fcgi setenvif

NOTICE: a2enconf php7.4-fpm

NOTICE: You are seeing this message because you have apache2 package installed.

root@www:/#

from http://blogger.pe.kr/921 by ccl(A) rewrite - 2021-07-10 19:59:05