enable dom and mcrypt on PHP