Showing posts with label Server software. Show all posts
Showing posts with label Server software. Show all posts

How to run php in Windows - WAMP server

To run php programs we mainly require
Apache server
MySQL
PHP
Ok now don't worry, you don't have to install all these. In this guide we use the Wamp server which basically includes all these. You can download it from the below link.


Download
WAMP server

Install it in your Windows machine. Just follow the instructions. Its a simple installation procedure.

After installation, run the server...
Click on START, and then start WAMP server to get your server start running. You will see the WAMP server icon in the taskbar if its running.


The default installation directory of WAMP is "C:/wamp"
C:/wamp/www is the base directory for all your projects.
In the directory "C:/wamp/www" create a directory (eg : myprog)


In this directory now create the php file which you want to execute.
Open a notepad, type in the program and save it with .php extension.

Get sample php scripts from here







Now click on the WAMP server icon in the right side of your taskbar.

Click on Localhost.
WAMP server Homepage will now pop out and you will be able to see your project list.

Click on the directory created before (eg: myprog) You should now be able to browse through all the programs in that directory.



Click on the php program to execute. DONE!!

Now wasn't that so simple! :)

Apache webserver


The Apache HTTP server project is an effort to develop and maintain an open source HTTP server for mordern operating systems including UNIX and Windows NT. The goal of this project is to a secure, efficient and extensible server that provides HTTP services in sync with current HTTP standards.

Check out the documentations Apache.

Download:-

XAMPP

XAMPP is an easy to install apache distribution containing MySQL, Perl and PHP. XAMPP is very easy to install and use-just download, extract and start. XAMPP is free of cost.

For more info Click here...

Download:-

XAMPP for