Instructions on compiling, installing, and configuring apache are found
here. Just skip the download step, since you already have the package.
Instructions on compiling, installing and configuring php are found
here. Just skip the bit about installing apache, you should already have done that according to the other instructions.
Instructions on compiling, installing and configuring MySQL are found
here.
Be sure that you really have source packages before trying these instructions. If you don't see "make" and "configure" files after you burst those tarballs check the sites I listed for binary installation instructions. Also, considering looking up documentation on your software in the future, it will save a lot of time and hassel waiting around a message board for someone to reply.
Good luck!