views:

421

answers:

5

i have downloaded some files which have .php extension.Then i installed wamp server on my pc. but couldnot be able to view those files.i have also turned off the IIS from the add/remove windows program.still i am not able to view the pages.

A: 

Click on the wamp server icon in the taskbar and test "localhost". If that works, click the "phpinfo()" link on the page. If that works too, your wamp server is working and you should be able to execute php files. If not, you need to make sure it is installed properly and started properly.

Cahlroisse
+1  A: 

I'm presuming that by WAMP, you are using Apache as your server? You need to find your www folder in C:\WAMP\www and place files in there.

Gav
+1 I was going to suggest this.
A: 

How are you trying to view the pages? Why exactly are you "not able" to do it? Are you aware that PHP files are basically programs that run on a server, and you view their output using a web browser? Assuming that you have actual PHP files (rather than their output) and all the resources that they need, you will have to put them into the source folder that WAMP is configured to display, and then you will be able to view them by going to http://localhost in your web browser.

Michael Borgwardt
A: 

Here is the wamp server I use.

http://www.wampserver.com/en/download.php

I have also used this one in the past.

http://www.apachefriends.org/en/xampp.html

Samuel
Please do not answer your own question to add information; instead, edit the question.
Michael Borgwardt
what? this is not my question. I was simply giving examples of wamp servers since go one else linked to any.
Samuel
@Michael Borgwardt: it is not the same person who asked the question, you should check before voting down. +1 to Samuel.
Saggi Malachi
A: 
  1. in the run put mmc - on the consol file / add /remove item choose internet information service and under website turn off the iis

  2. if you installed in the past wamp/mysql selete all and reinstall only the wamp

avnic