i would normally say
install Debian 7.8
and the apache stack deb's
but
if your heart is intent on building everything from source on a OLD OS
consider the building and installing as a 400 level CS class
there is only a pass/fail so you need a 4.0 on the final exam ( installing a working server )
start with the apache docs for the old 2.2
http://httpd.apache.org/docs/2.2/
the matching old version of PHP
http://php.net/
the old mysql -- now owned by Oracle ( mysql no longer owns mysql )
marieaDB is a NEW rewrite for mysql ( by the mysql developewrs )
http://www.mysql.com/
PhpMyAdmin -- also for the old version
http://www.phpmyadmin.net/home_page/index.php
PS
personally i RECOMMEND every one using apache does a source install a few times
then use the deb's and rpm's to save some time