aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--posts/debian_10_php_fpm.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/posts/debian_10_php_fpm.md b/posts/debian_10_php_fpm.md
new file mode 100644
index 0000000..8722e02
--- /dev/null
+++ b/posts/debian_10_php_fpm.md
@@ -0,0 +1,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!