Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Download and install WAMP from http://www.wampserver.com/en/
- 2. Go to C:\wamp\www and make a new folder.
- 3. Create a new php file, and type your php code. Save it as filename.php.
- <!DOCTYPE html>
- <html>
- <body>
- <h1>My first PHP page</h1>
- <?php
- echo "Hello World!";
- ?>
- </body>
- </html>
- 4. Start WampServer.
- 5. Right-click on the icon on the taskbar and select the last option, 'Put Online'.
- 6. Fire up your browser and type 'localhost' in the URL bar.
- 7. Select the name of the new folder you created.
- 8. Select your file to see the output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement