PHP scripts and programs for Beginner to Master

php programs, php ready to use scripts & functions, css tutorials, html, javascripts, ajax examples for Beginner to Master

So you installed WampServer on Windows.

Now how to create and execute or run you php file on windows ???

First START WampServer by clicking your START MENU and then selecting WampServer and then click start WampServer.

Once Server is started then you will see a WampServer icon in the right corner of your taskbar where your clock is present.

Now open the drive where you installed your wampserver.(ex. C:/wamp/)
Then open the www folder. (ex. C:/wamp/www/)
This is your Base directory, your all projects will come here.

Now create a directory here named mytest.
Now open notepad or any other text editor you have. Type the following in it.





Save the file to the directory mytest as index.php


Now click on the icon present in the right hand side of your taskbar and then click on localhost
Now you will see the list of projects, then click on mytest, you can see that your program is executed.
It will show you all the details of the php version you have installed.

I'm reading: How to create and execute, run php file on windowsTweet this!

1 comments:

Thank you for the post. I've been having troubles running PHP extension in WAMP server cause the tutorials I read are not detailed. At last I was able to run my Hello World program now. Thanks again. More post to come and more power.

Post a Comment