WAMP Help
Author |
Message |
DtY
|
Posted: Fri Aug 21, 2009 9:15 pm Post subject: WAMP Help |
|
|
I helped my friend install WAMP on his computer, he's never set up any servers before, and I haven't used WAMP in a few years, and don't have access to a Windows computer. I don't know him IRL, so I don't have access to his computer to set it up. He has it installed, and started it, and can see the landing page at localhost. I tried to help him find the htdocs folder, and he found two: c:\wamp\www\ and c:\wamp\Apache2.2.11\htdocs. I told him to create a file called something.html in the first, and see if it would load in the browser, it got a 404, same with the other directory.
Does someone with WAMP experience know what needs to be done?
Thanks |
|
|
|
|
|
Sponsor Sponsor
|
|
|
DemonWasp
|
Posted: Fri Aug 21, 2009 9:19 pm Post subject: RE:WAMP Help |
|
|
Have him edit his config file (should be available in the Start menu) and look for DocumentRoot. That tells Apache where the publicly-served files will be stored. Or, so it does on my Linux install... |
|
|
|
|
|
Tony
|
Posted: Fri Aug 21, 2009 9:48 pm Post subject: RE:WAMP Help |
|
|
I would have thought the only reason to run a Windows server was for IIS / .Net stack... why would anyone choose to go the WAMP route? If he has never set up a server before, maybe he should go with a more popular choice; if anything, then just for a greater support availability.
Anyway, Apache configuration file is typically called httpd.conf, start by finding that. There will likely be multiple copies of that file -- an actual file in use + various "backups" or defaults.
Quote:
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
DtY
|
Posted: Fri Aug 21, 2009 9:55 pm Post subject: RE:WAMP Help |
|
|
DemonWasp: Thanks, I'll have him do that
Tony: He's just going to start learning PHP, so this is a personal server, on his own computer. Don't worry, I'd never advise someone to setup any kind of public server on a windows computer. |
|
|
|
|
|
rdrake
|
Posted: Fri Aug 21, 2009 10:01 pm Post subject: RE:WAMP Help |
|
|
Meh, put lighttpd, PostgreSQL, and PHP in a virtual machine. VirtualBox is free.
If he screws up the configuration then it's not a big deal, he can just restore a snapshot of the VM and get back to work. |
|
|
|
|
|
|
|