mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
apache2: Don't explicitly enable php7.0 module.
Don't explicitly enable module php7.0. Rely on the package libapache2-mod-php installing the current version of the package and enabling. This ensures that when PHP version changes, the code is not broken. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
527aa66494
commit
9f3010e757
@ -67,10 +67,15 @@ def subcommand_setup(_):
|
||||
|
||||
# enable some critical modules to avoid restart while installing Plinth
|
||||
# applications.
|
||||
webserver.enable('php7.0', kind='module')
|
||||
webserver.enable('cgi', kind='module')
|
||||
webserver.enable('authnz_ldap', kind='module')
|
||||
|
||||
# Don't explicitly enable module php7.0. Rely on the package
|
||||
# libapache2-mod-php installing the current version of the package and
|
||||
# enabling. This ensures that when PHP version changes, the code is not
|
||||
# broken.
|
||||
# webserver.enable('php7.0', kind='module')
|
||||
|
||||
# enable users to share files uploaded to ~/public_html
|
||||
webserver.enable('userdir', kind='module')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user