You need a webserver (Apache) with php (here) and mysql (here) installed and configured on it.
Honestly though... if your here asking this question, you are not the person to build a webserver. At least not one that is going to be at all secure.
PS: Oh, and the distro I would probably recommend for a production server?... Even though Im mainly a Gentoo user, Ide probably recommend FreeBSD (not Linux) as a stable server platform.