From fec3098279220d067f72a3b386fd679c58e43899 Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Wed, 22 Aug 2018 15:27:10 -0300 Subject: d/boca-web.postinst: Add commands to enable php-fpm Signed-off-by: Bruno Cesar Ribas --- debian/boca-web.postinst | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3