guys i am new to this program.. how do you install php and apache,mysql? how do you compile the scripts
I would recommend checking something like Wamp out for installation.. as for compiling the scripts are ran as they're called up.. so they're compiled server-side, then ran on the spot.
Are you installing on a Windows or Linux machine? If your installing on a Windows machine, you may also want to try: XAMPP
yeah use a pre-packaged server, be aware though, some php scripts only work on *nix and vice versa, so if you plan to develop it's a good idea to upload to a production environment every few days to check everything is still okay