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

I intend to upgrade PHP from version 5.2.17 to 5.3 or higher on a CentOS 6.4 64-bit. I'm also running cPanel on the server. My question is, will it affect any other part of the server that I didn't think off? I don't mean PHP scripts on the server but libraries or programs required by other services?

share|improve this question

closed as off-topic by masegaloeh, EEAA, Michael Hampton May 10 '15 at 14:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

If you want to test you can always disable PHP by renaming the PHP binaries to something else and see if other services break. In general PHP is not used by system maintenance utilities (the way Perl and Python are on a Linux system) so I think upgrading PHP will only affect your web applications.

Since you have the cPanel license concern, you should just take a backup of your server before the upgrade, and investigate rollback/downgrade procedures to go back to the old version of PHP if you encounter problems. Good luck!

share|improve this answer
I guess that is the only solution. I thought I'd check first in case there is a known issue since I don't know which binaries will be upgraded with PHP and will they affect anything else. – Amgad Nov 14 '13 at 7:18

Honestly, how are we supposed to know?

Try the upgrade on a test server and find out. That's the only way you can be sure that things will go fine in your specific environment.

share|improve this answer
Thank you for answering. The server is a plain CentOS installation with specific configuration. I don't think trying the upgrade on a test server will work because I will need a cPanel license for the test server. – Amgad Nov 14 '13 at 6:38

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