Apache & php services state rework