aboutsummaryrefslogtreecommitdiffstats
path: root/posts/debian_10_php_fpm.md
blob: 8722e0243d62dce76e4345b7da054f5783e2eff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
title: PHP-FPM on Debian 10
published: 2019-07-08
---

Turns out getting PHP-FPM working on Debian 10 is very easy:

    $ sudo apt install php-fpm apache2
    $ sudo /usr/sbin/a2enconf php7.3-fpm
    $ sudo /usr/sbin/a2enmod proxy_fcgi
    $ sudo systemctl restart apache2
    $ echo '<?php phpinfo();' | sudo tee /var/www/html/info.php >/dev/null

That's it!