Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
9d86cfb3
Commit
9d86cfb3
authored
Jul 20, 2018
by
Andrew Ladlow
Browse files
httpd: Don't enable PHP7 over PHP5 in postinst
parent
58c4d852
Changes
2
Hide whitespace changes
Inline
Side-by-side
httpd/debian/changelog
View file @
9d86cfb3
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
...
...
httpd/debian/symbiosis-httpd.postinst
View file @
9d86cfb3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment