This article will provide beginners and others new to Apache 2 and PHP compilation, detailed information about how to compile PHP and Apache 2 on Linux system. It should work on all Unix like OS. Even if you just want to learn how to compile software from source on Linux like OS, this article will provide enough information to get you started. After reading this article any person, who hasn't yet compiled any software from source, will be able to compile and run PHP and Apache on his Linux Machine.