Setting environmrnt to apache