too big in fact to deal with in any comprehensive way via the forum. If you're a total newcomer to MySQL I suggest that for a start you
click here where you'll get a good grounding in the basics. Then
click here for more information - about both MySQL and PHP.
You can download Apache from
click here but to be honest, if you're new to all this it might be better to test your site directly on the server whilst you're developing it.