우분투에서 PHP-FPM 설치하기
우분투에서 PHP-FPM 설치하기 apt -y install php7.4-fpm Apache Configuration vim /etc/apache2/sites-available/000-default.conf <VirtualHost *:80> … <FilesMatch \.php$> SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/" </FilesMatch> … </VirtualHost> Enable required modules, proxy_fcgi and setenvif: a2enmod proxy_fcgi setenvif …