diff options
| author | Bruno Cesar Ribas <brunoribas@gmail.com> | 2018-08-22 18:27:10 +0000 |
|---|---|---|
| committer | Bruno Cesar Ribas <brunoribas@gmail.com> | 2018-08-22 18:27:10 +0000 |
| commit | fec3098279220d067f72a3b386fd679c58e43899 (patch) | |
| tree | d521316ec1c1136e001763e843a42ffcbc46a436 /debian/boca-web.postinst | |
| parent | efa3a56d8f745c574ce66ddec52ea02fc2c64684 (diff) | |
| download | boca-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.postinst | 7 |
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 |