Configure php_flag in .htaccess only if php module is loaded
Created by: gauthierl
This change fix installation with PHP FPM and Apache. Without, the application is broken because Apache do not have the php_flag directive.
FPM users need to set theses settings in the fpm pool configuration.