Here we go. I made this post based on my experience installing Apache 2, MySQL 5.1, and PHP 5.2 from apt-get and always get error when installing MySQL 5.1. Then I must install them from sources.
Before we begin, make sure you already download source of Apache 2, MySQL 5.1, and PHP 5.2.
Download Apache HTTP Server
Download [...]