I have had my Wamp server configured the same way for a very long time (years), and I never change anything (unless someone tells me to in this forum) because I am a novice about this server.
At any rate, some sites in my c:/wamp/www directory are working just fine, except for a couple of sites. In these sites, the HTML pages render, but the PHP pages do not render. When I try to view the php pages, I get the following error message:
======================
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
=======================
I have turned off port 80 from Skype, I turned off my virus software for the test, and I don't have IIS installed at all (or any other server except for Wamp.) I checked my hosts file, and I had this:
=============
127.0.0.1 localhost
::1 localhost
=============
I removed the second line, but that did not help.
I also tested my port 80, and it is being used by Apache. I looked at my php log, and it is empty. My Apache logs (from today's run) are below:
The sites that do not render are /alvingolf/ and /maidservicetexas/.
The site with the directory /nails/ does render properly.
=================================================
192.168.0.9 - - [11/Mar/2011:05:18:43 -0600] "GET /HNAP1/ HTTP/1.1" 404 204
192.168.0.9 - - [11/Mar/2011:05:18:46 -0600] "GET /TEADevInfo/ HTTP/1.1" 404 209
192.168.0.9 - badcred [11/Mar/2011:05:18:49 -0600] "GET / HTTP/1.0" 200 6594
192.168.0.6 - - [11/Mar/2011:05:19:48 -0600] "GET /HNAP1/ HTTP/1.1" 404 204
192.168.0.6 - badcred [11/Mar/2011:05:23:25 -0600] "GET / HTTP/1.0" 200 6594
127.0.0.1 - - [11/Mar/2011:05:27:56 -0600] "GET /alvingolf/TMPxh1nl6.php HTTP/1.1" 500 535
127.0.0.1 - - [11/Mar/2011:05:28:18 -0600] "GET /nails/TMP1kkex6q.php HTTP/1.1" 200 6454
127.0.0.1 - - [11/Mar/2011:05:36:49 -0600] "GET /alvingolf/TMP13m8jzk.php HTTP/1.1" 500 535
127.0.0.1 - - [11/Mar/2011:05:36:57 -0600] "GET /alvingolf/TMP1n6kpm4.php HTTP/1.1" 500 535
127.0.0.1 - - [11/Mar/2011:05:38:40 -0600] "GET /alvingolf/TMP1e1eec3.php HTTP/1.1" 500 535
192.168.0.9 - - [11/Mar/2011:05:38:48 -0600] "GET /HNAP1/ HTTP/1.1" 404 204
192.168.0.9 - - [11/Mar/2011:05:38:51 -0600] "GET /TEADevInfo/ HTTP/1.1" 404 209
192.168.0.6 - - [11/Mar/2011:05:39:54 -0600] "GET /HNAP1/ HTTP/1.1" 404 204
192.168.0.6 - - [11/Mar/2011:05:39:57 -0600] "GET /TEADevInfo/ HTTP/1.1" 404 209
192.168.0.6 - badcred [11/Mar/2011:05:40:02 -0600] "GET / HTTP/1.0" 200 6594
127.0.0.1 - - [11/Mar/2011:05:40:49 -0600] "GET / HTTP/1.1" 200 6594
127.0.0.1 - - [11/Mar/2011:05:50:06 -0600] "GET /alvingolf/TMP1i46k2i.php HTTP/1.1" 500 535
127.0.0.1 - - [11/Mar/2011:05:50:15 -0600] "GET /alvingolf/TMPcuw0ny.php HTTP/1.1" 500 535
127.0.0.1 - - [11/Mar/2011:05:51:27 -0600] "GET /maidservicetexas/TMPuzua2v.php HTTP/1.1" 500 535
192.168.0.9 - - [11/Mar/2011:05:58:52 -0600] "GET /HNAP1/ HTTP/1.1" 404 204
192.168.0.9 - - [11/Mar/2011:05:58:55 -0600] "GET /TEADevInfo/ HTTP/1.1" 404 209
192.168.0.9 - badcred [11/Mar/2011:05:58:58 -0600] "GET / HTTP/1.0" 200 6594
127.0.0.1 - - [11/Mar/2011:06:00:34 -0600] "GET /alvingolf/TMPi4eiyo.php HTTP/1.1" 500 535
==========================================
I noticed that the IP address is different for alvingolf and maidservicetexas (both of which I can't access). I did look at my alias file, and I saw this code. I don't know if it is correct or in the right place. I don't have an .htaccess file, and I don't know if or where I should change the IP of these sites. I know I never set it for the ones that are working. I just set up the sites in Dreamweaver and it started working.
===================================
<Directory "c:/wamp/apps/phpmyadmin3.2.0.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
==================================
I did also try changing the IP address in my hosts file to
192.168.0.9 localhost
but that did nothing, so I changed it back to
127.0.0.1 localhost
which, as I stated above, is what it was set to.
I then noticed that the authn_alias_module was not checked, so I checked it and tried again. (I still got the same errors.)
It was after this test that I tried loading maidservicetexas (and I had all the log files open--that was the only thing that was different--don't know if it matters), and then I got an actual error message from Wamp, not just in the browser.
The error message window was titled "Aestan Tray Menu" and the text reads as follows:
==================
Could not execute menu item (internal error) [EAccessViolation] Access violation at address 004F1AE0 in module 'wampmanager.exe'. Read of address 0317AF64
==================
I looked around the Wamp menus for a "wampmanager" module but I could not find it. Hopefully this is enough information for someone to go by. I do also have an Apache error log, but it is very long. I'll save it for a reply in case you don't need it. This message is long enough for now.
Thanks so much for your help!
Karen
Karen Farrell
Farrell Documentation & Web Design
Nothing is impossible. Some things just require more steps. -KF