WAMP服务器无法正常工作

I have downloaded some files which have .php extension.

Then I installed WAMMP server on my, but I am not 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.

  1. Click on the wamp server icon in the taskbar and test "localhost".
  2. If that works, click the "phpinfo()" link on the page.
  3. 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.

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.

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.

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

  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

Click on the wamp server icon on your taskbar, go to Apache and you will find Test Port 80 in there. That will show whether port 80 is available or not. If not, go to httpd.conf file which is in the Apache menu of wamp server, find line Listen 80. Change 80 to 88. Restart All Services in wamp and that should work. Let me know if that helped.