I am using Windows 7 and just installed Apache 2.2. Just tried to open IE by http//:localhost:8080 I have modified the conf file. It showed cannot connect to webpage. In addition, there is no start up menu item in Windows 7 and also no idea how to start and stop the Apache by looking at the Task Manager.
i don't think it would be any different from use on WinXP...if you used the installer, then go to a command prompt and type 'net start apache2.2'. since you have edited the conf files, try also 'httpd -t' for a config check.
I tried: net start apache2.2 and also net start apache 2.2 got the error: The service name is invalid. Do I need to run in a specify folder in command prompt?
not for running the net command, but i dunno about win7 never used and don't plan to for a long time yet anyway the error you received means the service wasn't installed, or you're not using apache 2.2...did you download the installer from httpd.apache.org or are you using an unzipped version? because i can't understand why the service didn't get installed...and did you have apache running successfully before you edited the conf file?
Hi, finally I used this: c: cd "\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe" Save these as bat file and run this bat file to start Apache. But the only way I can stop this is press Ctrl-C inside the DOS prompt.