the whole lot will work just fine without an internet connection.
what you need is apache web server set up and running, with php support. check your distro disks - you should find apache and the mod_php module.
you will then need mysql server, at the very least, set up and running correctly.
then, you write your web page(s), and save them into a special directory that apache uses to access the files - you'll want to check the apache configuration for more details.
then, to access those web pages on your local machine, you'd use the 'localhost' ip address (which every machine has) - 127.0.0.1, or simply 'localhost', ie
sitepoint has some good tutorials for setting up php / mysql/ apache -