php version update in centos

how i update the php version in centos live server ..
saganprit singhIT ADMINAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yum update php (which version of centos)? 5,6? Are you also looking to update the centos version if possible?

Centos is built to maintain the versions of essential items to maintain application continuity without fear that there will be as there often are conflicts, deprecated mechanisms introduced with the new version.

To transition in versions, you either have to install it yourself through finding an RPM of the version you want and installing it or getting the source and compiling it yourself.  In either case you will have to maintain the vulnerabilities if any and patching of this version.

you have not said which centos version you have nor whether you need a newer version of PHP.
saganprit singhIT ADMINAuthor Commented:
cantos 6 ... sir when i update our current version of php 5.3.25 (cli)

there is any effect of all file settings in server ..
and how i update this version in other version..
plz suggest me in detail with full command's

becz there is a live server to solve this problem..
That is not how centos works.  It provides a version 5.4 or 5.5 and that is the only version they update/patch.

Look at centos upgrade to 7 (make sure it has the version you are looking for)

The only option to maintain centos 6 and only upgrade php to a newer version would be for you to download the source of the version you want:
Make sure the requirements within readme/install etc are reviewed and all the options you want and need in the form of external (mysql, etc. are of the minimum version .......)
compile, and install.

You should test it firth.

Many things that are included in newer versions require a bit of ...... to perform in the existing.

There must have been a reason you/your organization selected centos for the platform versus others that would likely have updated your entire system, kernel, php, mysql, apache, etc. to the newest available versions.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Seth SimmonsSr. Systems AdministratorCommented:
when i update our current version of php 5.3.25...

this was obviously done manually since the CentOS 6.6 repository has version 5.3.3-38 so you'll have to upgrade manually
trying to use yum will not work since it won't be aware of the manually installed version
Missed the first line.

If you've already taken steps to maintain a version of php on your on,
you have to maintain the source.  Then whether you want to update the security issues or other vulnerability corrections, you have to use the copy of the source, to make the suggested changes to the source. compile it test and install.

Not sure how you expect anyone outside your organization to provide full details on what to do given only people within your organization know how your system is setup/what features/functionality you are looking for and need, and how they interact.
saganprit singhIT ADMINAuthor Commented:
thanks sir
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.