How to fix the Apache's «web/.htaccess: Invalid command 'Header'» failure of the «/install.php» request?

You need to enable the mod_headers in Apache.

stackoverflow.com/a/10185759