Permalink
Browse files

httpd: Don't enable PHP7 over PHP5 in postinst

  • Loading branch information...
andrewladlow committed Jul 20, 2018
1 parent 58c4d85 commit 9d86cfb351187f755f249f076c8621e5b54f63ea
Showing with 6 additions and 11 deletions.
  1. +6 −0 httpd/debian/changelog
  2. +0 −11 httpd/debian/symbiosis-httpd.postinst
@@ -1,3 +1,9 @@
symbiosis-httpd (2018:0720) stable; urgency=medium

* Revert commit 3dfe596a which enabled Apache PHP7 module by default.

-- Andrew Ladlow <andrew.ladlow@bytemark.co.uk> Fri, 20 Jul 2018 14:07:37 +0100

symbiosis-httpd (2018:0709) stable; urgency=medium

* Allow unrestricted/unredirected access to /.well-known/acme-challenge
@@ -66,17 +66,6 @@ if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
apache2_invoke enmod $mod
done

#
# Enable Apache PHP7 module by default
#
if [ -e /etc/apache2/mods-enabled/php5.load ] ; then
echo "I: Disabling PHP 5 module and config"
rm -f /etc/apache2/mods-enabled/php5.conf
rm -f /etc/apache2/mods-enabled/php5.load
echo "I: Enabling PHP 7 module and config"
apache2_invoke enmod php7.0
fi

fi

# change "no-stats" file to "stats" file

0 comments on commit 9d86cfb

Please sign in to comment.