sg optimizer https & php settings