adding redis and fixing apache multiprocess problem