Hard times installing Apache on Vista

Posted by Jaren
Posted on June 22, 2007
Filed Under PC Stuffs |

ARRggghhh… i never knew that installing [tag]Apache[/tag] on Vista can be a pain… wth? oh well, wth…luckily for me I’m not the first one to experience this problem… Oh Vista why oh why… A good OS but still needs a bit more adjustment.. *grunts…*sighs …*ka-ching (an idea just popped in my head… “you’re hungry!, you need coffee!” hahha)

Installing Apache on Vista gave 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 save it on my downloads folder ( c:\users\[tag]jaren[/tag]\downloads)
  2. turned OFF UAC (because it’s very annoying and it may be the reason why it’s giving me a hard time installing apache).
    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
  4. Thanks to Sitepoint for this solution

Go to Start | All Programs | Accessories, then right-click on “Command Prompt”, and select “Run as administrator”. This will open a command prompt window with admin rights. Navigate to the directory where you saved the apache*.msi install file, and type “msiexec /i apache*.msi” (where apache*.msi is the actual name of the file - hint: type apache and then hit tab, it should fill in the file name automatically). Hit enter, and the rest should work just fine, it did for me. Hope this helps.

After that It went smoothly for a while… but… I still had another error message (damn)

I had a “run-in” with someone called “ServerAdmin” there’s a problem with “ServerAdmin” even though I added an email address during the install. hehe… 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 (this getting pretty lame, enough with error messages already… bwahahha!!)
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”

hehehe…. what I did is just saved it at a different location and just copied it back… problem solved… after 4 mugs of coffee…then I just run this line at my “promoted” Command Prompt –

“msiexec /i apache_2.2.4-win32-x86-no_ssl.msi”

to see if it’s really fine ( I just had to double check!!!) FINALLY…

Tested apache by entering the following url in my browser: http://localhost/ while keeping my fingers crossed:

It works!

patting my belly… I restarted my laptop by sheer stupidity… I thought my problems were finished but during startup Apache seems to load weird and gave me another error message… (for the love of COFFEE.. please end this madness!)

I clicked on Start, then Run, and typed in msconfig and click OK, selected the Startup tab and unchecked the box by the “[tag]Apache HTTP Server[/tag]” restarted my laptop (again) this time out of madness and paranoia… still works fine… problem solved… for now… heheehe… now to drown my self in coffee… time to play DOOM3…



You can follow the Sarcasm and other Shiznits via Email...
Subscribe to the QuickStop Project...
KAMON! I know you want it...

Comments

11 Responses to “Hard times installing Apache on Vista”

  1. 4Avatars v0.3.1 mar on June 24th, 2007 6:36 am

    no comment…. joke

    nice info sir

    [Reply]

  2. 4Avatars v0.3.1 slarti42uk on June 25th, 2007 9:52 am

    Great info, really helped.

    One other gotcha was that the service would not install as it said:
    (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.
    : make_sock: could not bind to address 0.0.0.0:80

    It turned out that Skype listens on port 80 and this caused the install to fail. Closing Skype and re-trying worked fine

    [Reply]

  3. 4Avatars v0.3.1 PC EXTREME » Blog Archive » Installing Apache on Vista on June 25th, 2007 3:15 pm

    [...] 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 [...]

  4. 4Avatars v0.3.1 links for 2007-06-25 « PinoyBlurker @ PinoyBlogoSphere.com on June 25th, 2007 3:21 pm

    [...] the QuickStop » Hard times installing Apache on Vista - sarcasm and irony at it’s finest [...]

  5. 4Avatars v0.3.1 links for 2007-06-25 « PinoyBlogoSphere.com | PhilippineBlogoSphere.com on June 25th, 2007 3:23 pm

    [...] the QuickStop » Hard times installing Apache on Vista - sarcasm and irony at it’s finest [...]

  6. 4Avatars v0.3.1 Mr.Blogit on June 26th, 2007 11:42 pm

    You should try XAMPP, it installs fine on vista.

    [Reply]

  7. 4Avatars v0.3.1 ghuebgtz on September 17th, 2007 3:58 pm

    wew thanx for ur info…
    i’ve got the same problem like u…
    but now it’s ok…

    [Reply]

  8. 4Avatars v0.3.1 ghuebgtz on September 17th, 2007 4:28 pm

    sorry I just want to ask you somethin’, if the browser said that IT WORKS, is that mean that the apache server is already running?

    [Reply]

  9. 4Avatars v0.3.1 Jaren on September 18th, 2007 3:55 am

    hi ghuebgtz…
    yes it should work fine…to start apache

    go to start -> all programs -> apache http server (apache installation folder) -> control apache server — there are option there to start/stop and even restart it… have fun…

    well since “it works” popped out of my browser, never had any problem ever since…

    [Reply]

  10. 4Avatars v0.3.1 Colin on November 1st, 2007 11:33 pm

    Hi All,

    This had us stumped - for a while at least. OS - Vista Home. We downloaded the .msi file and installed it. Had problems “Apache2″ service not found and port 80 error. Resolved the first problem by ensuring that we opened up the CMD shell as ADMINISTRATOR, the second problem was caused by SKYPE which was holding open port 80. To resolve the second problem we simply reconfigured SKYPE to not use port 80. The apache services then started up fine - this had us going for hours! I hope we save you some time.

    Regards,
    Colin.
    UKC Tech Support.

    [Reply]

  11. 4Avatars v0.3.1 To my Readers : Thanks | the QuickStop Project on June 24th, 2008 7:23 am

    [...] Hard times installing Apache on Vista [...]

Leave a Reply