Hello, I’m a new CentOS user, finding that some packages are a little old. How do you solve this kind of problems? I want to install newer php. Thank you.
Hi, read this:
https://wiki.CentOS.org/AdditionalResources/Repositories In particular SCL may fit your needs.
You can save yourself some trouble and use CentOS SCL 
Thank you very much!