Installing Apache on Vista

by PC Freak on June 25, 2007

Oh yeah man, I’m back for another round of Vista testing and compatibility issues. As seen on my post on the QuickStop, I still have the aftershock of the said horrendous experience. As Installed Apache on Windows Vista, I noticed that with all the security features installed on it, you have to have certain knowledge of the OS or otherwise you would get frustrated and give up on the first try the moment it stopped working.

Hard Times Installing Apache on Vista as posted on the QuickStop

Installing Apache on Vista gave me lots of error message (access denied) plus the UAC won’t stop popping up… so damn annoying…I knew I did something wrong… so I immediately uninstalled it… back to square 1…

  1. I downloaded the apache_2.2.4-win32-x86-no_ssl.msi file saved it on my downloads folder
  2. turned OFF UAC
    1. Start > Control Panel
    2. User Accounts
    3. Click “Turn User Accounts Control on or off”
    4. Uncheck “Use User Account Control”
    5. Click OK
    6. Restart Windows
  3. Promoted my Command Prompt to Administrator
    1. Start > All Programs > Accessories
    2. Create Desktop Shortcut
    3. Right click on Command Prompt Shortcut > Properties > Advanced Checked on the Run As Administrator Box
    4. Click OK then Apply

Installation went smoothly for a while… but had a problem with “ServerAdmin” even though I added an email address during the install. I went to C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf and edited the httpd.conf file
and searched for this line of code:

#
ServerAdmin

it’s blank there should be an email address there… so I put it my email… the one that I used during the installation and saved it… but another error, I got this :

“Cannot create the C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf
Make sure that the path and file name are correct”

Just saved it at a different location and just copied it back…problem solved…
Tested apache by entering the following url in my browser: http://localhost/ while keeping my fingers crossed:

It works!

Thanks!

{ 4 comments… read them below or add one }

Johana 07.26.07 at 1:16 am

Thank SOOO Much!!!
I was feeling so frustrated and now it finally works!!!!

I LOVE YOU!!!!!

Pari 11.05.07 at 5:01 am

Thank You so much……. you made me happy, you washed away my frustration that I had sisnce last 2 weeks!

LUV U!

Les Platz 12.09.07 at 10:51 am

my apache install went fine, excluding the “restart” function when I would change my root directory. The changes I made to the config file were not being recognized when I would restart my apache server. Your information on creating the shortcut for Command Prompt to Run As Administrator solved the problem. Greatness!!

twx 12.28.07 at 1:37 pm

i also encountered this error when i edited the http.conf:

Cannot create the C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf
Make sure that the path and file name are correct”

but i can’t get it to work with the method you used cos the edited version is saved as a text file. how can i get it to save as a .conf?

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>