Apache PHP module config being enabled twice for debian/ubuntu
-
The current (6901) installer copies apache php module config files from ‘mods-available’ to ‘mods-enabled’ on line 1760 in lib/common/functions.sh - beside this not being good practice the installer does the proper
a2enmod
call just after that (within function createSSLCA)! Patch proposal (untested):diff --git a/lib/common/functions.sh b/lib/common/functions.sh index f44598f..c72dae6 100755 --- a/lib/common/functions.sh +++ b/lib/common/functions.sh @@ -1758,7 +1757,6 @@ class Config { fi fi fi - cp /etc/apache2/mods-available/php${php_ver}* /etc/apache2/mods-enabled/ >>$workingdir/error_logs/fog_error_${version}.log 2>&1 fi dots "Enabling apache and fpm services on boot" if [[ $osid -eq 2 ]]; then
-
Edited as suggested.
-
Thanks! Well, then marking this solved straight away. Please let us know if you see an issue with this.