If you are working on a windows computer you should install a windows compatible server. Most hosting webservers are using linux, but you can learn programming language even on a windows pc. All you have to do is to install a local webserver, on your pc. Installing a web server on your PC. WampServer is an open source project, free to use. Navigate to wampserver . Click DOWNLOAD WampServer 2.0h . It will take you to SourceForge.net website. There you have to download windows installer. Usually it is downloaded automatically and no action is needed before downloading begins. A download file message will appear and you have to click yes to download. After downloading is finished, click and run the installer. Answer Yes, Next, I Agree , and chose a folder to install, for example c:\wamp. The installer will install Apache server, php and mysql on your computer in c:\wamp folder. It instals apache, mysql database and php (AMP, WAMP stand for Windows Apahe MySQL PHP, LAMP stand for Linux Apache MySql PHP, XAMP stand for any system Apache MySql Php). After finishing installing, click Launch server now. The server starts and a wite speedometer like icon in system tray will display. If icon is white your server is up and running. If Windows Firewall (or any other firewall you are using) pops a confirmation message asking you to allow web-server running click allow/yes/unblock button, depending on firewall message.
To test that your web-server is running open your favorite web-browser IE, Mozilla Firefox, Opera, Google Chrome, and type in http://localhost/ If you see a welcome page, apache server is installed and you can start write php scripts. First php program to test is "Hello world! ". Navigate in your computer to c:\wamp\www\ This is the root of web-server. Edit a new file called hello.php and save it to C:\wamp\www\hello.php Write in that file the following lines of code starting with : Save file then open http://localhost/hello.php in a new browser. Hello world ! 2009-04-16 15:04:19 message will display (the date and time will be your computer time). For more information about php programming you should visit official website. There are many users contribution on each function you may want to use. It's a strong community and there are lots of examples. Also a big advantage is that almost every web-host company offers php and mysql support.
Published by Courant
A college student who love technology and minimal running. I have run in everything from Newtons down to Luna Sandals and love to share my minimal running knowledge View profile
- Doing Wonders with Apache SettingsApache is the web server in Linux environment and Apache allows you to configure your website through htaccess file. This is a small guide which can help you to understand how things are done.
- PHP Regular ExpressionsIn this article I explain the meaning of Regular Expressions and I introduce you to the concept in PHP. You start learning what is called Matching.
- How to Customize PHP Flag Settings Without Using Apache and HtaccessI recently purchased a hosting account and every time I tried to change a php_flag setting in htaccess I got an Internal Server Error 500! If you've got this problem, there's a simple solution. Create your own php.i...
- Codeigniter FrameworkThis article contains information about the codeigniter framework for programmers.
- Understanding Web Server Log FIlesMore and more people are buying hosting for their web sites that provide web server log files for analysis. This information can help you see how people are using your web site, which will help you develop a more user...
- PHP and Web Hosting with Mac
- Introduction to PHP for Beginners
- Basics of PHP
- Hosting Your Own Web Server: Things to Consider
- Run a Development Web Server on Windows with WAMPServer
- GoDaddy Shared Hosting Versus Private Server
- Creating a Windows-Free Web Design Enviroment

