Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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'm looking to update our web server, and my experience with updating is slim. I have done clean installs of apache, php, and mysql, but this will be my first time upgrading. Hoping someone can give me detailed instructions on how to do this.

I'm on PHP 5.2.6 and mysql 5.051, and I'm looking to get those to the current versions. I have apache installed on Debian (Lenny).

(Has anyone had any major issues performing these upgrades?)

NOTE: Looking to upgrade versions to PHP 5.3 and MySQL 5.5

share|improve this question

migrated from Apr 19 '11 at 18:57

This question came from our site for professional and enthusiast programmers.

Some few steps

  1. Please check the manual.
  2. Be aware of PHP 5.3 and 5.2 differences
  3. The same to MySQL.
share|improve this answer

The Debian Squeeze release notes has a whole chapter about upgrading from Lenny.

If you just want to keep the packages updated, without changing the version of your whole distribution, you just need to check for updates once on a while:

 # aptitude update
 # aptitude safe-upgrade

You may prefer to use apt-get

 # apt-get update
 # apt-get dist-upgrade
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.