Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a years old server which is CentOS 5.2 and PHP 5.1.6. It serves mainly static html pages plus a few simply PHP webforms.

Now there is a need to upgrade PHP to 5.2.x for adding a new PHP onto the same server. Is there any caveat I should be aware of? Any experience to share with? Thanks!

share|improve this question
up vote 0 down vote accepted

I've done so on a heavy server with millions of scripts, You'll notice almost nothing. The major change IMHO is :


No longer works and errors, since objects are not automatically casted to strings via


and you need to do that manually. But few scripts do that and those who do, usually cast manually.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.