This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webui: cleanup Debian PHP dependencies
Debian PHP dependencies now uses the platform default, but offers the possibility to use PHP5, if available. The previous used dependencies php7 have been incorrect. It should have been php7.0. However, in the next Debian release it will be php7.2, so sticking to the platform default might be the best option. Apache PHP is not enabled any longer, as this is done by the package libapache2-mod-php*.
- Loading branch information
1 parent
274c5c3
commit 890997a
Showing
3 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
#!/bin/sh | ||
|
||
which a2enmod && a2enmod rewrite setenv php7 2> /dev/null || true | ||
which a2enmod && a2enmod rewrite setenv php5 2> /dev/null || true | ||
which a2enmod && a2enmod rewrite 2> /dev/null || true | ||
which a2enmod && a2enmod setenv 2> /dev/null || true | ||
|
||
# PHP is required. However, there are different versions. | ||
# libapache2-mod-php* in Debian based distributions enable PHP by default. | ||
#which a2enmod && a2enmod php7.2 2> /dev/null || true | ||
#which a2enmod && a2enmod php7.0 2> /dev/null || true | ||
#which a2enmod && a2enmod php7 2> /dev/null || true | ||
#which a2enmod && a2enmod php5 2> /dev/null || true | ||
|
||
which a2enconf && a2enconf bareos-webui || true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters