aboutsummaryrefslogtreecommitdiffstats
path: root/posts
diff options
context:
space:
mode:
authorFran├žois Kooman <fkooman@tuxed.net>2019-07-08 16:12:38 +0200
committerFran├žois Kooman <fkooman@tuxed.net>2019-07-08 16:12:38 +0200
commit666c7b0e3f2ed766e737338ef0e6b8339bfe73cf (patch)
treee555e48641c3eb7e3542b912fd2d35c5f93e1b6b /posts
parent2845d160f35aa70dd4b2ff04225c2ddce05566d1 (diff)
downloadwww.tuxed.net-666c7b0e3f2ed766e737338ef0e6b8339bfe73cf.zip
www.tuxed.net-666c7b0e3f2ed766e737338ef0e6b8339bfe73cf.tar.gz
www.tuxed.net-666c7b0e3f2ed766e737338ef0e6b8339bfe73cf.tar.xz
add php-fpm on Debian 10 post
Diffstat (limited to 'posts')
-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!