aboutsummaryrefslogtreecommitdiff
path: root/debian/boca-web.postinst
diff options
context:
space:
mode:
authorBruno Cesar Ribas <brunoribas@gmail.com>2018-08-22 18:27:10 +0000
committerBruno Cesar Ribas <brunoribas@gmail.com>2018-08-22 18:27:10 +0000
commitfec3098279220d067f72a3b386fd679c58e43899 (patch)
treed521316ec1c1136e001763e843a42ffcbc46a436 /debian/boca-web.postinst
parentefa3a56d8f745c574ce66ddec52ea02fc2c64684 (diff)
downloadboca-fec3098279220d067f72a3b386fd679c58e43899.tar.gz
boca-fec3098279220d067f72a3b386fd679c58e43899.zip
d/boca-web.postinst: Add commands to enable php-fpm
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
Diffstat (limited to 'debian/boca-web.postinst')
-rw-r--r--debian/boca-web.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/boca-web.postinst b/debian/boca-web.postinst
index 18ce749..60899b7 100644
--- a/debian/boca-web.postinst
+++ b/debian/boca-web.postinst
@@ -7,5 +7,12 @@ chmod 4555 /usr/bin/safeexec
a2ensite default-ssl
a2enmod ssl
a2enmod socache_shmcb
+a2enmod proxy_fcgi
+
+# Make sure embedded apache php module is not loaded
+a2dismod php7.2 || true
+
+#enable php fpm instead
+a2enconf php7.2-fpm
service apache2 restart || true