Comments on: How to Install Apache with PHP-FPM on Ubuntu 20.04 https://tecadmin.net/setup-apache-php-fpm-ubuntu-20-04/ How to guide for System Administrator's and Developers Mon, 15 Feb 2021 06:43:20 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: arthur https://tecadmin.net/setup-apache-php-fpm-ubuntu-20-04/#comment-59783 Mon, 15 Feb 2021 06:43:20 +0000 https://tecadmin.net/?p=21436#comment-59783 Why not use:

apt install php7.4-cgi php7.4-fpm
a2enconf php7.4-cgi
apachectl reload apache2

and eliminate steps:

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php

sudo a2enmod actions fcgid alias proxy_fcgi

sudo vim /etc/apache2/sites-available/000-default.conf

]]>
By: RJK https://tecadmin.net/setup-apache-php-fpm-ubuntu-20-04/#comment-57947 Fri, 22 Jan 2021 23:22:37 +0000 https://tecadmin.net/?p=21436#comment-57947 Thank you sir for adding days to my life!

]]>
By: David Eaton https://tecadmin.net/setup-apache-php-fpm-ubuntu-20-04/#comment-52967 Tue, 04 Aug 2020 11:06:17 +0000 https://tecadmin.net/?p=21436#comment-52967 Hi,
small typo: sudo systemctl status php7.3-fpm <– 7.4?

]]>
By: Rahul https://tecadmin.net/setup-apache-php-fpm-ubuntu-20-04/#comment-51523 Tue, 02 Jun 2020 07:20:13 +0000 https://tecadmin.net/?p=21436#comment-51523 Comment below section from virtual host:

  <FilesMatch \.php$>
        # 2.4.10+ can proxy to unix socket
        SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost"
   </FilesMatch>
]]>
By: haseeb https://tecadmin.net/setup-apache-php-fpm-ubuntu-20-04/#comment-51403 Mon, 01 Jun 2020 07:33:57 +0000 https://tecadmin.net/?p=21436#comment-51403 thanks rahul, its really helpful. few questions though.
Can you please share, best way to turn off php fpm and revert back to normal php 7.4 ..
huge thanks,

]]>