First, get apache (free) and PHP (free) and any other mods you want and then go get Apach Toolbox::
http://www.apachetoolbox.com/index.php
::it makes llife simple for configuring and installing....
Apache Toolbox provides a means to easily compile Apache with SSL, PHP (v4 or v3), MySQL, ZendOptimizer, mod_auth_nds, mod_dynvhost, WebDAV, mod_fastcgi, mod_gzip, mod_layout, mod_throttle, mod_accessref, mod_auth_sys, mod_bandwidth, mod_auth_ldap, mod_roaming, mod_perl, mod_jserv, OpenLDAP, mod_dtcl, mod_python, mod_frontpage, mod_relocate, mod_allowdev, mod_auth_cookie, mod_auth_cookie_file, mod_auth_external, mod_auth_inst, mod_auth_system, mod_eaccess, mod_bandwidth, mod_cgisock, mod_urlcount, mod_disallow_id, mod_peephole, mod_put, mod_qs2ssi, mod_session, mod_cvs, mod_macro, mod_random, mod_ip_forwarding, mod_ticket, mod_monitor, and the latest gd libraries with PNG support. It is fully customizable and menu driven. Everything is compiled from source. It checks for RPMs that might cause problems and uses wget to automatically download the source if it's missing.
Hope this helps - have fun!