I am way out of my league here so hopefully someone can help me out. I have wamp installed. If I go to localhost, I get a 403 error; however, if I put in 127.0.0.1, I get the WAMPSERVER Homepage. If I try to open nutcracker (You are not allowed to view links.
Register or
Login), I get:
Nutcracker Install Script
ERROR! You cannot run this script on any place except for your local computer
Please RIGHT-CLICK the filename, not left click it. select save as and put
install.php into your c:\wamp\www directory. Once you have downloaded install.php you run it by opening a web page to 'localhost/install.php'
Here are the values in your _SERVER array
Array
(
[HTTP_HOST] => 127.0.0.1
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_CONNECTION] => keep-alive
[PATH] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\COMMON~1\SONICS~1\;C:\Program Files\QuickTime\QTSystem\
[SystemRoot] => C:\WINDOWS
[COMSPEC] => C:\WINDOWS\system32\cmd.exe
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
[WINDIR] => C:\WINDOWS
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache/2.2.22 (Win32) PHP/5.4.3
[SERVER_NAME] => 127.0.0.1
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.0.0.1
[DOCUMENT_ROOT] => C:/wamp/www/
[SERVER_ADMIN] => admin@localhost
[SCRIPT_FILENAME] => C:/wamp/www/nutcracker/install.php
[REMOTE_PORT] => 1239
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /nutcracker/install.php
[SCRIPT_NAME] => /nutcracker/install.php
[PHP_SELF] => /nutcracker/install.php
[REQUEST_TIME_FLOAT] => 1351990045.843
[REQUEST_TIME] => 1351990045
)
Program exiting ..
I assume this is related to localhost not working. Any idea on how I can get it to work? The icon on my taskbar is green. If I stop all services, it turns red, so I think it is running; however, when I hover over the icon, it says "server offline".
TIA,
-Keith