Stop trying to do other stuff and fix the problem you have first.
You have a parse error in /etc/yum.repos.d/utterrambings.repo
So open up that file and replace its contents with what are supposed to be there, which is in the article.
If you can't figure it out, then remove that repo altogether so yum stops trying to use it.
THEN you can either use it to upgrade PHP (if you fixed it), or use another repo (if you didn't and removed it).
What OS distribution is this? It's got yum, so some RedHat variety? For CentOS I only use epel/remi for getting packages newer than the RHEL repos.