aboutsummaryrefslogtreecommitdiffstats
path: root/posts/debian_10_php_fpm.md
blob: c840f6205ea326b5d8dbe5ba42983da7c0763fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
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

Now `info.php` is available under the web root, e.g. 
`http://localhost/info.php`. That's it!