Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am planning of upgrading the LAMP stack that I have.

Debian Lenny 5.09 - current version is 6.0
Apache 2.2.9 - current 2.2.21
MySQL 5.0.51a - current 5.5.20
PHP 5.2.6 - current PHP 5.3.9

I am curious if I should start with the debian upgrade and the rest will follow from the new repositories, or I should start with PHP/Mysql first and leave the distro update at the end.

What is the best practice? Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If your LAMP stack is installed through Debian's package management system, it'd get updated automatically during system upgrade. You can find the official documentation about upgrade from Lenny to Squeeze right here.

Upgrades between major versions may sometimes go wrong if not performed carefully, so I would suggest to read the above mentioned page in order to prepare yourself for the process and avoid undesired situations.

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.