Here are some docs which are useful for preparations in PHP / MySQL .Install the xampp software in your system.
Download the manual and go through it.Also I linked a Web-Arch PPT from Yahoo! . [18th slide is fundamental one]. Hope it's very useful.
You can download a zip of my collection here!
Moreover understand How the Internet works on Wiki. Here's a