Local PHP Programming with WampServer

You’ve studied PHP for a bit and have written a handful of pages. (If you haven’t, check out my mini PHP crash course.) Now you’re getting tired of the constant edit, upload, view cycle of PHP editing using a Web server. What to do?

This powerful local server program comes equipped with PHP, MySql, and more.

WampServer Menu: This powerful local server program comes equipped with PHP, MySql, and more.

Enter WampServer. This handy app can be installed with ease onto your computer and used as a stand-alone local PHP server (plus MySql and Apache). Woo-hoo! Now you don’t have to go through the old rigamarole, and can simply edit and refresh while you pound out PHP.

When you go through the easy install process, you’ll set up a new directory for your webpage files. This is inside the WampServer directory (e.g., c:wampwww ). Any file you put there will show up when you open it in your browser, e.g.,  http://localhost/path-to-item/mypage.php . Simple.

You avoided the hassle of trying to install PHP separately, and you now have your very own, brand new, PHP-enabled local server. Congrats! Use your newfound programming power well.

Leave a Reply

Your email address will not be published. Required fields are marked *