Correctly place 'DEBIAN_FRONTEND=noninteractive' variable before commands requiring it.
Add PECL uploadprogress Apache module (from package repos).