Firstly, I'n an Ubuntu person and I don't have a lot of knowledge of RedHat derivitive distros. However...
This all sounds very confused to me. I can't understand why you would compile PHP yourself and then try to use yum. You'd use one or the other, surely? Also, I think compiling PHP yourself is a VERY bad plan. My understanding is that most people use the 'Remi' repository for installing PHP on RedHat derivatives. If the repo doesn't contain the memcached/redis extensions then you should be able to add them using pecl - which is PHP's extension manager. You rarely hear of this because, in most cases, it's been replaced by the package manager (yum in your case), but it's still there. Note that, pecl is NOT a replacement for the package manager - you can't install non-PHP stuff. It should be as simple as 'pecl install redis'.
I'm also a little concerned that you are running both memcached and redis. You may, of course, have a perfectly good reason but, given a choice, I would stick with redis myself.