fix apache-php package and apply config settings