Page 1 of 1

Php files won't display using WAMP 5

Posted: Tue Mar 28, 2006 3:56 am
by bluespot
Is there anyone in this forum that can help me?

I am new to all this php and apache stuff and so i thought I would get WAMP as it seemed so simple to install. However even though it installed with no error messages I find that I still can not run php files from my working folders, ie : c:\wamp\www\client1.com or c:\wamp\www\client2.co.uk etc.

When I run localhost from the Wamp utility I get a list of all my clients folders come up. But when I click on once with a php index file I get the following error..:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
...............

Can anyone assist me please?

Thanks in anticipation,
Lloyd Codrington - Bluespot Network Ltd

Posted: Tue Mar 28, 2006 4:14 am
by anjanesh
Locate your httpd.conf file on your harddisk - most probably C:\Program Files\Apache Group\Apache2\conf
You should have index.php here

Code: Select all

DirectoryIndex index.php index.html index.htm
If not then search for where DirectoryIndex is located and add index.php

Posted: Tue Mar 28, 2006 5:14 am
by bluespot
Hi Anjanesh,
I have had a look at the file and that line is already there and is also active. I thought you had it then as I do remember something similar happening once on a course I was doing.

Thanks for the effort and time,
Lloyd Codringtron