Skip to content
Snippets Groups Projects
Verified Commit fa00f35b authored by David Beniamine's avatar David Beniamine
Browse files

fix missing php plugins

parent 427da685
Branches
No related tags found
No related merge requests found
...@@ -48,8 +48,13 @@ DEBIAN_FRONTEND='noninteractive' apt-get update \ ...@@ -48,8 +48,13 @@ DEBIAN_FRONTEND='noninteractive' apt-get update \
php-curl \ php-curl \
php-gd \ php-gd \
php-intl \ php-intl \
php-imagick \
php-json \
php-mbstring \
php-mcrypt \ php-mcrypt \
php-mysql \ php-mysql \
php-xml \
php-zip \
sudo \ sudo \
tar \ tar \
ufw \ ufw \
...@@ -284,26 +289,13 @@ fi ...@@ -284,26 +289,13 @@ fi
if [ "${WEB_SERVER}" == "apache2" ] if [ "${WEB_SERVER}" == "apache2" ]
then then
echo "a2enmod rewrite" MODS="php7.0 rewrite headers env dir mime ssl zip"
a2enmod rewrite for mod in ${MODS}
echo "a2enmod rewrite : terminated" do
echo "a2enmod headers" echo "enabling '$mod'"
a2enmod headers echo "enabling '$mod' : terminated"
echo "a2enmod env" done
a2enmod env
echo "a2enmod env : terminated"
echo "a2enmod dir"
a2enmod dir
echo "a2enmod dir : terminated"
echo "a2enmod mime"
a2enmod mime
echo "a2enmod mime : terminated"
echo "a2enmod ssl"
a2enmod ssl
echo "a2enmod ssl : terminated"
# activation ssl # activation ssl
a2enmod ssl
a2ensite nextcloud a2ensite nextcloud
echo "apachectl restart" echo "apachectl restart"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment