Install Apache on Windows Vista (Updated)
June 6, 2007Installing Apache under Windows XP was trivial. Not so, under Vista. Creation of the Apache service fails. The conf directory can’t be set up by the installer, probably due to permission problems.
I finally got it working with the following procedure. I used the latest version of Apache (2.2.4) and Windows Vista Home Premium.
Update 11/20/07: I had to do a factory reset on my machine a few weeks ago (due to a video card failure) and had to run through this procedure a second time to install Apache 2.2.6. I streamlined it a bit. The problem with the Apache Monitor noted in the old set of instructions seems to have been fixed in Apache 2.2.6… when you reboot in step 12, the Apache monitor should appear on your task bar.
- Uninstall any previous installations of Apache Web server (Start > Control Panel > Programs and Features).
- Stop any other services (like IIS) that use port 80 (if you still want to use IIS, give it another port). If you’re running Skype you have to uncheck Advanced Options > Connection: Use Port 80 and 443 as alternatives (Thanks Jacob!)
- Stop User Account Control (UAC). (This isn’t absolutely necessary, but there will be less nagging if you do.)
- Get the most recent version of the apache Win32 binaries from http://httpd.apache.org/download.cgi and put it on your desktop. Rename it to apache (without changing the .msi extension, if that’s showing).
- Start > All Programs > Accessories
- Right-Click “Command Prompt” and choose “Run as Administrator”
- Manually remove directories containing previous apache installations (like C:\Program Files\Apache Software Foundation…)
- Change to your desktop folder directory (At the prompt type: cd desktop)
- At the prompt, type: msiexec /i apache.msi
- Run through the Apache installer. I’m running a development server, so I left the domain and computer name blank. You must specify an email address, though. Choose the default server on port 80 for all users option. Change the installation directory to c:\apache.
- Reboot.
- Browse to http://localhost. It should say “It works!” If it doesn’t, check your httpd.conf file by going to All Programs > Apache HTTP Server 2.2.x > Configure Apache Server > Test Configuration. Follow the directions for fixing the configuration file.
- You can turn UAC back on, if you like that sort of thing. To each his own!
Thank you very much, I translated your apache instalation manual to czech language. See http://pari.cz/194/instalace-apache-22-php-52-a-mysql-51-na-windows-vista
by Pari June 28, 2007 at 2:54 pmInstead of removing the “Monitor Apache servers” from the startup you can also set the compatibility of that item to “Windows XP Service Pack 2”.
At least that worked for me on Vista Business Edition.
by Auke June 28, 2007 at 8:31 pm[…] Installing Apache on Windows Vista […]
by Setting up developer tools on Windows Vista July 9, 2007 at 6:57 pmHi Fred, thanks for the instructions. Made installing Apache on Vista HP a breeze. Cheers 🙂
by Heffo July 11, 2007 at 6:55 pmExcellent, thanks for the help
by Martin July 14, 2007 at 3:20 pmThanks so much for the simple instructions. This should be a quick start guide in the Apache documentation. This worked great for me on Vista Business.
by Dave July 14, 2007 at 5:36 pmThis guide was truly a life saver! I’d like to point out that not specifying an e-mail address during the installation resulted in the Apache service not being able to start. Once that was taken care of, Apache worked like a charm. Thanks again!
by Juan July 18, 2007 at 5:27 am[…] So, I’ve been continuing to load up my brand new Dell 1710 beast of a machine (seriously, it glows red like it’s possessed by the devil). Natrually the first thing I did was fire up IE and go download Firefox. The second thing I did was to install some programming tools. Ultra Edit is highly recommended, WinSCP, Filezilla. When I got around to Apache, Vista was once again being a pain in the ass. After I ran the install for 2.2.4 and clicked through a half dozen “are you sure” dialogs, Apache complained it didn’t have access to the files needed to complete the installation and threw out the rather ironic error message below. While I don’t think Apache intended that the successful operation of their software was an error, I’m still left with the problem of not having any Apache on my system. I did a quick search on the web and found a good blog post outlining the problem here. […]
by Apache Has a Sense of Humor: Ironic Error Message July 21, 2007 at 11:20 pmNice little tutorial. Thank you!
Cheers.
by Matthew Sweet July 28, 2007 at 4:20 am[…] Installing Apache on Vista Installing PHP on Vista […]
by Installing Apache, PHP and MySQL on Vista July 28, 2007 at 5:26 amJust use WAMP…
by Max July 28, 2007 at 8:29 pm[…] How to install Apache 2 on Windows Vista, How to install PHP on Windows Vista, How to install MySQL 5 on Windows Vista (direct link to PDF). […]
by Karova Blog » Blog Archive » Setting up a WAMP under Windows Vista July 30, 2007 at 3:34 pmThe critical step seems to be running the msi as administrator. With that step alone, i.e. no need to disable UAC nor my firewall (AVG), I was able to get it to install.
Good comment on XP SP2 compatibility mode on Apache Monitor. That worked for me.
by Ray L July 31, 2007 at 1:32 pmGreat tutorial. Managed to get both apache and php running.
by sean August 3, 2007 at 11:04 amI have still problem of “No Apache Service”
by Bisheshwar August 7, 2007 at 5:10 amI got error “no Installed service Apache2”
by Bisheshwar August 7, 2007 at 5:18 amKudos for posting this!!! You’ve saved me and I’m sure countless others no end of hassle. BTW, the XP SP2 compatibility mode for Apache Monitor worked for me on Vista Business.
by Mike Schinkel August 7, 2007 at 6:05 amVery helpful post!!
It is possible to set the compatibility of “Monitor Apache Servers” item to “Windows XP Service Pack 2″. on Windows Vista Home edition premium as well.
by Gauri August 7, 2007 at 8:38 pmLike everyone else I just want to say THANK GOD FOR YOUR TUTORIALS
by Marea August 8, 2007 at 11:11 pmGreat post!
Don’t forget to stop IIS before the installation if you have it installed and running. Otherwise the Apache installation will fail to open socket at port 80.
by Phantom Palmer August 16, 2007 at 6:53 pmHi!
thanks a lot for the help.
Apache installation went fine.
However after PHP installation, apache has stopped working!!!
Any help on that?
by Ron August 18, 2007 at 4:32 pmThanks,
Ron
[…] install these components, if you are using Windows Vista check out following tutorials from senese, install apache on Windows Vista, Install PHP under Apache and […]
by LinusLin.com » Blog Archive » How to design wordpress theme using Dreamweaver (Beginning, Intermediate) August 19, 2007 at 4:09 pmhi,
i was trying to install apache on windows vista home basic.
On typing ” msiexec /i apache.msi”, I get ‘command not recognized’.
what should I do?
sahiti
by sahitiv August 21, 2007 at 8:59 aman example blog of an ideal blogger who addresses he concerns of the geeks and at the same time finds his own blog becoming a hit!!
cool man!
by kush August 23, 2007 at 8:56 amTHANK GOD FOR YOU AND YOUR BRAIN!!
The first thing i did once it worked it screamed ALAUGHA
by Mad August 24, 2007 at 5:57 pmHey, This was a really useful and saved a lot of time.
Thanks a lot for a really good step by step document.
by Rukhsana August 24, 2007 at 11:54 pmWONDERFUL!
by Nate August 25, 2007 at 12:12 amWOW this was good…It helped me so much
by Raj August 29, 2007 at 4:15 amThis answer was really great… Thanks a lot friend…
by Toms August 29, 2007 at 10:09 amPhew! Guys, this is great – actually i was able to get both Apache & Php integrated well & also the Apache monitor icon running off the status bar. Thanks a lot.
by Jojo August 31, 2007 at 3:24 pmMany thanks for this. Worked like a charm on VAIO with Vista Business.
by Phil September 1, 2007 at 6:29 pmSomeone touched on this above, but if you get the error: ServerAdmin takes one argument etc, go to apache\conf\httpd.conf and search for “ServerAdmin”. Just add “youemail@something.com” with the quotes to that line. Easy!
by Harry Burt September 2, 2007 at 2:51 pmOh, and this is a great post, really helpful, thanks
by Harry Burt September 2, 2007 at 2:52 pmI can install everything fine, I’ve added PHP and Mysql fine too.. but as soon as I restart the computer and boot up again, Apache cannot start.. any suggestions?
jade <> fernwoodtech <> com
by Jade September 3, 2007 at 8:13 pmThis STILL didn’t do it for me.
I’m trying to install Apache 1, because I heard it works better with PHP than Apache 2.
Anyways, I install it (following the steps above), and all I get is this message: “Apache.exe stopped working and was closed”
Why? I’ve tried to get Apache 1 to work-does anybody have a solution?!!
by papa September 5, 2007 at 9:42 pmNIIIIICE! Thanks!
by Johhhhny September 6, 2007 at 6:21 pmJust some extra notes that people might find useful:
1. I did NOT need to turn UAC off, but followed all the other instructions above;
2. I did have to UNCHECK in Skype – Advanced Options – Connection : Use Port 80 and 443 as alternatives!!
3. I discovered that to start / restart Apache services, I had to right click and Run as Administrator on those icons, otherwise they wouldn’t do it.
Bingo! Apache working properly for me now! Thanks indeed for the great instructions.
by Jacob September 6, 2007 at 11:47 pmWorked a treat, thanks very much for the help!
by Gareth September 7, 2007 at 10:19 amVery specific tutorial, worked like a charm first time. Many thanks.
by triga September 8, 2007 at 2:21 amThanks!!!! Worked for me….
by Nyc Guy September 11, 2007 at 12:24 amThank you so much. It worked great. Very clear an awesome instructions.
by raj September 12, 2007 at 12:48 amI´d suggest to use WAMP (http://www.wampserver.com).
by Chris September 12, 2007 at 11:50 amInstaller works like a charm, without any manual changes.
(Vista Business 64bit)
Great work, Dude!
Hurrah!!! php runs on Apache 2 in Vista – first time!
Still have a problem. I have a script which displays RSS feeds in a webpage. But i cannot get that running. pls help.
~Vinodh
by vinbot September 13, 2007 at 12:59 pmTop notch. Thanks for sharing this info.
by Rob September 13, 2007 at 9:29 pmHi,
I tried to install Apache2 on my Vista home premium. I have IIS installed as well, there seems to be a conflick between the two. Is there a way I can have both IIS and Apache working?
Rich
by Richard September 16, 2007 at 4:37 amdid you change the ports, richard?
by rubenb September 17, 2007 at 3:45 pmExcellent notes – well done.
by Andy October 8, 2007 at 9:52 pmI also chose to set the compatibility of “Monitor Apache Servers” item to “Windows XP Service Pack 2″.
Works fine if you follow instructions carefully and you do get the apache feather in the Vista task bar after completion of the installation sequence.
I am running Vista Home Basic.
I followed these directions and would love to say that they worked… However, I am getting an error “Apache.exe has stopped working” upon reboot and if I try to run apache (“NET START apache” on the command line).
I am running Vista Home Premium. I had tried to install ‘normally’ prior to realizing there was a problem with Vista, removed the files and began again with your directions here.
Directly after the install (before the reboot) I get the “Apache.exe has stopped working” error message and I don’t get an icon in the startup folder (you mentioned removing it).
Makes me think that the install is not functioning properly. Your thoughts would be much appreciated. Thanks
by Megan October 11, 2007 at 8:09 pmthanks senese
by saleem chauhan October 15, 2007 at 10:30 pm[…] A very short note on installing Apache on Windows Vista. […]
by Install Apache, PHP, MySQL and Related on Windows Machine Part 1 | Install, setup and configure October 17, 2007 at 4:24 amamazing blog man…..!! was a great help!! Thanks a ton
by Shailja Agrawal October 25, 2007 at 11:01 ami have install apache on my viesta home premium and works well with html but when im using my jsp cant work. Any help to solve this problem
thanks
by Hashim October 27, 2007 at 7:41 ami downloaded the zipfile from the site and renamed it accordingly. In the dosprompt i tried the msiexec /i apache.msi and i get an error saying “The installation package could not be opened. Contact the application vendor to verify that this is a valid windows installer package” any help?
by eric October 30, 2007 at 1:54 amHi All,
This had us stumped – for a while at least. 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,
by UK-Cheapest.co.uk November 1, 2007 at 11:27 pmColin.
UKC Tech Support.
Anyone have any suggestions to my question above? I’m still struggling with this.
Thanks!
by Megan November 19, 2007 at 8:40 pmSweet!!
Runs perfectly for me!
Thanx.
by Hahnemann November 20, 2007 at 1:16 amWonderful!!
It worked for me and gave me lot of relief.
Thanks
by Siva November 20, 2007 at 1:42 pmI’ve tried to install Apache at my machine, and it is Vista. I tried all the steps you given above but still doesn’t work. The error message says “access denied”, so any suggestion to this? Thanks
by Gary November 24, 2007 at 12:30 amGary,
Are you logged in as administrator? Are you running the command prompt with “Run as administrator”?
by senese November 24, 2007 at 3:28 amI am the only user in the machine and I am the administrator, is this alright?
The error message also says “Fail to open WinNT service manager”
by Gary November 24, 2007 at 7:49 amThanks for publishing the update…that annoying error dialog was a pain in the ass….this guide has been so damn useful.
Thanks for taking the time to write it!
C
by Carlton Dickson December 3, 2007 at 8:19 pmThank you
by KOROSU December 3, 2007 at 11:09 pmThanks so much…people like you make this world a better place
by crystal December 7, 2007 at 5:26 pmWorked perfectly first time! Thanks for the great help you have provided.
by Shane December 8, 2007 at 10:28 pmMany people in their comments keep mentioning something about the Monitor in procedure but that part/step seems to be removed. I’ve tried to install apache 2.2.6 by following described procedure, apache gets installed well, “It works!”, but Monitor isn’t started together with the system, and even if I start it manually, I can’t stop the service from it – clicking Stop does absolutely nothing. My OS is Windows Vista 64bit Business. Will give http://www.wampserver.com a try.
by Stevo December 10, 2007 at 11:19 amUnfortunately similar thing happens with WAMP, as its manager doesn’t get started with the system, and even when it is started manually, neither right, left, nor double clicking icon that appears in task bar activates pop-up menu.
by Stevo December 10, 2007 at 12:41 pmThanks to your advice, I got Apache, PHP (Safe Mode), and Perl (as CGI) running the way I like it: namely, the way I had it running on XP), on Vista Home Basic.
It runs with UAC on (I am the sole User). For reasons related to how I need to grab the CGI, I installed it in a folder outside of Program Files. I don’t have Skype or other programs that might interfere with ports.
I went to Services and set Apache to start manually, rather than the default of automatically.
With UAC on, Apache cannot be started from the Start menu. It cannot be started from the Apache Monitor, either. But the monitor (which I have in my system tray) does show whether Apache is on or off. It does not help to “run as administrator” from the menu or the monitor. The Apache Monitor program is in XP-SP2 compatibility mode.
No big deal. I simply removed the Apache link from my Start Menu, since it didn’t work there. When I want to toggle Apache, I right-click the monitor tray icon and Open Services rather than Open Apache Monitor. After going through the UAC hassle, I get to Services, where I can turn Apache on or off.
by Robert A. December 14, 2007 at 12:59 amWell, I did a successful install. However, I have had so many problems with Vista, that I decided to replace Vista with Linux… use the computer as a database server and switch to a Mac…. I’m so much happier. As they say, Apples just work.
by Stephen McConnell December 14, 2007 at 6:55 pmvery interesting, but I don’t agree with you
by Idetrorce December 15, 2007 at 11:41 pmIdetrorce
Thanks for the great advice! I was starting to get frustrated before finding this tutorial. Nice job man!
by Aaron Waldon December 16, 2007 at 1:16 amanyone please help me…. i can’t start my apache2triad… i really need this program for our thesis!!! i’m using windows vista ultimate…
by renz December 22, 2007 at 1:38 amThank you, this was helpful.
by diaratou December 22, 2007 at 11:08 pmTHANKS!! Perfect instructions for us 1st time Apache users stuck with Vista 🙂
by PowerJunkie December 28, 2007 at 4:24 amIf you’re running vista 64-bit, xampp works great
by Antaris December 28, 2007 at 1:20 pmthank you, it works wonder
by ayu December 29, 2007 at 2:02 amI’ve tried everything suggested here and no luck. I had Apache server working fine when I had Windows XP. Just got this damn Vista machine and Apache just wont work. It seems to install fine, has the icon in the tray at the bottom, says its running. It won’t stop and nothing shows up when opening explorer and entering localhost.
I just did this last week on XP with NO problems. I am using the same downloaded msi file to install on this new piece of junk but it just don’t work.
by Nancy January 1, 2008 at 9:44 pmThanks a lot. I never thought i could just run a local host to test my app, always used the host file manager. Thanks again.
by Joby John January 5, 2008 at 6:20 amFollowed your instructions and apache installed and worked fine. But after I modified the httpd-vhosts.conf file and tried to stop and start the service again, I got an error message from windows. I tried start it in the Services, in the command prompt(run as admin), from the Start menu and from the ApacheMonitor. Got the same result either tried to Start or Restart.
Thanks in advance for any help.
by wes January 9, 2008 at 6:20 amHi Great tut!
Unfortunately it doesn’t let me in, localhost is blocked. I get from diagnose connection problems in IE7
“Windows confirmed that ‘localhost’ is currently online, but is not responding to connection attampts at this time.” and it goes on –
“This usally means that a firewall is running somewhere between the two computers and is blocking ‘World Wide Web service HTTP. Windows has confirmed that Windows Firewall on this computer is correctly configured to allow this connection. However, a remote firewall might be blocking your connection.”
Could this be my router – if so then I’m screwed – I can’t connect (or ping) to my router to change its firewall settings.
Any Ideas would be appreciated.
Thanx
Steve
by Steve January 9, 2008 at 11:07 pmGod bless u dear,i was struggling while installing 2.2.4 on vista.This tutorial came as a blessing and i installed apache in minutes after reading this tutorial…brilliant man…cheers!!!
by Harpal Dhillon January 12, 2008 at 12:56 pmwhere do you get the msi file at? WTF is going on. Every tutorial talks about the MSI file. Its not where to be fuckin FOUND!
by asd January 13, 2008 at 2:40 amHi
I found the problem as described in the earlier post,
localhost doesn’t resolve to 127.0.0.1 as described by the hosts file. It resolves to my machinename.
So if I enter http://machinename I get to see It Works, if I enter the IPv4 TCP address it also works.
But never with http://localhost, obviously this means WAMP is rendered useless unless I can fix the reference to localhost. This seems to be a common problem posted around the net but yet no solution.
Any Idea How To Fix This…
I’m using Vista Ultimate and I can tell ya its an Ultimate pain in the ass.
Best Regards
Steve
by Steve January 14, 2008 at 4:15 pmI’m going to transalate this tutorial to spanish in my blogsite, i hope that not have problem with this.
by Gianni January 15, 2008 at 7:02 pmThanks…
Thanks for post.
Your instructions worked for me fine with Apache 2.2.8. I had to stop not only Vista IIS but also the World Wide Web Publishing Service. I had to reinstall it twice to make it work. Second time using c:\apache for the install dir path as you recommended. However, I did not need to reboot my laptop to see it running in my Services:
Apache2.2 | Apache/2.2.8(Win32) | Started | Automatic | Local System
Best Regards,
Garry
http://localhost gives “It works!”
by Garry January 19, 2008 at 11:06 pmabsolutely delighted to have found this article as I was able to get the latest version of apache to work. Simply followed your instructions. Thanks
by alex January 22, 2008 at 2:01 pmThanks so f*****g much. Great help. I love you.
by rob January 24, 2008 at 1:02 pmI love you man, thank you.
by josh February 3, 2008 at 9:05 pm[…] will help save you some of the braindamage I went through. Thanks to other forums, in particular to https://senese.wordpress.com/2007/06/06/installing-apache-on-windows-vista/ Even after helpful forums, I still ran into some issues that I hoped I could clarify for others. […]
by How to Install Apache on Vista - Avoiding Problems « Smitty’s Blog February 18, 2008 at 5:51 pm[…] Thanks to other forums, in particular to https://senese.wordpress.com/2007/06/06/installing-apache-on-windows-vista/ […]
by How to Install Apache Server on Vista - and how to avoid problems! « Smitty’s Blog February 18, 2008 at 6:27 pm[…] Thanks to other forums, in particular to: https://senese.wordpress.com/2007/06/06/installing-apache-on-windows-vista/ […]
by How to Install Apache Web Server on Vista - and Avoid Problems! « Smitty’s Blog February 18, 2008 at 6:38 pmthanks so much !!! cheers
by lyn February 18, 2008 at 10:20 pmYou can save a lot of time and install Apache, PHP, MySQL together in just a few clicks. There is a great comparison of WAMP (Windows, Apache, MySQL, PHP) packages: http://en.wikipedia.org/wiki/Comparison_of_WAMPs
by Alex February 22, 2008 at 5:29 pmSome of them are very simple. For example, using http://www.witsuite.com/product/installer/ (my favorite) you can install Apache, MySQL and PHP in just one click. Watch the demo if you think that this is not possible 🙂
I am still trying to install this. I want to put it on my personal computer. I try to leave the Network Domain and Server Name blank, as in the instructions and I get:
by Dan February 23, 2008 at 2:51 pmThe Domain Name entry cannot be left blank. Please click OK, fill in the domain name entry, and you can proceed with installation.
What do I put in those fields for installing it on my computer?
Is the Domain Name field entry you put in the ISP company (e.g. Virginmedia.com)?
by Dawn February 24, 2008 at 12:51 pmThank you, thank you, thank you. I am new to this stuff and installing Apache was giving me fits! I followed your easily followed instructions and I am up and running.
Again, thanks.
by Rich February 24, 2008 at 11:16 pmIf you put ‘localhost’ in the Domain Name Field that doesn’t work neither when I install Apache on my computer so what do I put instead?
by Dawn February 26, 2008 at 7:17 pmthank you very much, worked a treat, appreciate your effort in detailing these steps, making my life easier.
by jack March 1, 2008 at 5:22 amWell done!
Jack
Thank you so much! You made what I thought would be an all day task into 30 minutes. Flawless instructions, flawless installation. You rock!
by Jhanawa March 1, 2008 at 3:47 pmThanks for the help. It worked for me o windows vista 64.
by Rogerio March 8, 2008 at 12:14 amFred,
Excellent instructions – they still worked great for Apache 2.2.8 on Vista Home Premium.
Thanks!
by David March 18, 2008 at 10:35 pmthanks for the tutorial, This will definetly solve my problems. I was experiencing the same issue could nor run apache server on vista premium. and I lost sound on my video calls on the pc.
by Alain March 19, 2008 at 2:08 pmthanks
hello?
actual turning off UAC and downolading the binary and straight run the installation allows installing the apache.
I automatical installed apache without running the installation on the dos prompt and apache was installed and read to run.
Win32 Binary without crypto (no mod_ssl) (MSI Installer): apache_2.2.8-win32-x86-no_ssl.msi [PGP] [MD5]
Alain
by Alain March 19, 2008 at 7:48 pmInstalled with the latest Apache version and it DID REQUIRE the DOMAIN and SERVER…would not proceed without entry in these two fields.
by Kerry March 21, 2008 at 8:09 amTawa, I used Apache 2.something with php a few years ago on Home XP when I thought that creating a site would be easy and had lots of trouble – but it eventually worked. Now (having forgotten everything) I have a Vista Business machine onto which I am trying to install Apache and PHP5 and incredibly had no problem with Apache until I wanted to include PHP5 in the httpd.conf file. Well I can’t even manage to save the httpd file! I don’t know whether it is a permissions thing or what, all I know is that a few days ago I had the misfortune to try to place a file in an MS Excel folder by dragging and found that it was only a shortcut, having mysteriously been placed in a ‘virtual’ folder instead – this file was also invisible until the ‘Compatible..’ button was pressed. Until that was discovered, it was a nightmare – I find the file hierarchy odd enough without this.
Anyway, if anyone has any ideas I would be very grateful indeed to hear about them. Thanks.
by 2Tricky March 21, 2008 at 5:20 pmWorked like a charm – thanks so much!
by Robin Dawes March 24, 2008 at 3:29 pm[…] Installing Apache on Windows Vista […]
by 62five » Blog » Setting up Apache and PHP on Windows Vista March 25, 2008 at 4:43 amThanks you so much!It’s work!
by vynguyen March 27, 2008 at 8:19 amHi,
I’m running Vista (Home Premium) on HP Pavilion (Core 2Duo E63000).
I have Apache2.2 working successfully (Apache Monitor confirms it).
I have done all configuration in php.ini, apache/../httpd.conf, windows/…/hosts…etc.
When testing “hello.html” in Flock browser under http://localhost:8080/hello.html
It would work and display
HELLO
So, that means that the Browser can work fine with the regular “.html” files.
When I load http://localhost:8080/
It displays the page about the PHP etc.
But here I have a BIG PROBLEM.
My apache http server last for about 10 to 15 seconds
and then Vista closes it with the message:
‘Apache HTTP Server stopped working and was closed’
I tried setting Vista firewall OFF, but then apache server
by Miro Vasilj March 30, 2008 at 9:16 pmlasts even shorter period of time.
Please advise any suggestions or comments that you might have.
I tried this after trying many other things and it worked perfect!
by gb73 April 1, 2008 at 7:23 pmThanks for the wonderful help. But I am still down with aproblem. I coudn’t update httpd.config file. I wanted to install php on Apache
by see April 9, 2008 at 7:27 amYour instructions for installing apache (latest is now .8 v) worked like charm. I have to now go for your PHP/mysql tuts. thanks and regards, K. Ramachandran
by K. Ramachandran April 16, 2008 at 9:17 amthanks mate that was realy helpfull
by HKSHam April 20, 2008 at 8:21 pm[…] check it out : https://senese.wordpress.com/2007/06/06/installing-apache-on-windows-vista/ […]
by breaker of stuff, destoryer of things, sometimes ninja | running apache on vista April 23, 2008 at 11:34 amThank you men, it works perfectly…. Buenisima onda !!!!!!! from Guatemala
by pete April 25, 2008 at 1:13 amBEAUTIFUL, MAGICAL, MISTICAL, IRRESISTABLE!!!!!!!!
by Roman April 26, 2008 at 7:01 pm(but most of all beautiful!)
Thanks a lot for this post, this is actually the only one on the web bringing the subject on.
I followed the instructions (almost) to the letter and Apache came up with the “It Works” message. I then installed php5 and everything seemed to go well. The THING is that the ALMOST bit of the Apache installation was when the question was asked about the domain name and computer name. Because I got alerts saying that I had to fill those in I put in felan.com.au and http://www.felan.com.au
Now when I try to test my php files locally Dreamweaver seems to want to upload files to a remote server. Any suggestions on how I might solve this one?
by John May 1, 2008 at 2:53 amfineeeeeeeee clearrrrrrrr instruction ,,,,,, thanx
by Al May 1, 2008 at 6:33 am[…] it out : https://senese.wordpress.com/2007/06/06/installing-apache-on-windows-vista/ Share and Enjoy: These icons link to social bookmarking sites where readers can share and […]
by running apache on vista | breaker of stuff, destroyer of things May 15, 2008 at 12:29 pmThanks, great help!
by Pod May 23, 2008 at 4:47 pmI have installed MySQL 5 onto a Microsoft Windows Vista Home Premium. I have Apache 2.2.8. I have also installed php onto the system. But when I start apache up, it does not recognise php5. is there a tutorial or solution to get these working
by Byron May 27, 2008 at 1:56 pmExcellent, serious thanks for this. Been putting off doing this as I knew it would be fiddly and just been uploading to a remote dev server – it worked first time so a BIG thanks. This will save me lots of time now.
by Andy June 2, 2008 at 9:22 pmyour insight was amazing. Thks for sharing it was a transition from 2 hr to a 2 minute install.
by savana June 4, 2008 at 6:25 pmHello Megan, did you get your apache to work at all before rebooting? I realized that I had put a comment in line containing PHPIniDir “c:/yourphpdir” and the commend was as such #my php dir and this would cause apache not to start(go figure) however after i took out the comment it starts just fine.
by savana June 5, 2008 at 11:30 pmuse the sc create command in a dos window to add the mysql service or any other that doesnt install correctly:
sc create MySQL start= auto DisplayName= MySQL binPath= c:\program files\mysql\mysql server 5.1\bin\mysqld.exe
then if you need to alter any parameters, use the administrative tools/services utility
by bob eff June 8, 2008 at 4:25 amHelp, please!
by Victor June 14, 2008 at 8:07 pmI have error message “Internal error 2715. apr_ldap-1.dll” when I try install Apache 2.2.9 on Windows Vista Home Premium. Wat’s wrong?
i have apache http server 2.2 installed on my machine ,running vista 64 ,when running i would like to see ,in real time who is on my machine ,is there an add on that enables me to do this .
by paul June 16, 2008 at 9:43 pmthankyou
many people asked what to put in the domain and server box. For both, I put in “localhost” and it works!
Thanks for the tutorial. 🙂
becu.
by becu June 24, 2008 at 9:57 amthanks for the help. great!
by demi July 8, 2008 at 7:42 amMarvelous. Really helped. Thanks for all those good people!
by Farrokh July 9, 2008 at 9:15 amHow about running apache without installing?
by ctuga July 10, 2008 at 8:44 pmIn Xp Pro very easy but with Vista some problems.
Thanks. Works perfectly
by Debola July 21, 2008 at 5:05 pmTahnks for posting
by PepHeicy August 3, 2008 at 7:07 amHey…Freq,
by Kevin August 7, 2008 at 6:40 pmThis is really wonderful, i was struggling to install apache on my new vista system since 2 days and finally by googling i came to this page and surpisingly i am now running apache on vista.. .thanks a lot for such a nice description..
This is a little dated. There are no installation issues with the latest Apache build.
by Josh (vancouver computers) August 11, 2008 at 5:15 amhello i have avery big problem with my apachi server when i start it it gives me amessage says apachi .exe has stopped working i try every thing to find solution but no benefit so please help me i am student and i have a project ???????
by eman August 14, 2008 at 12:28 pmI don’t want to work on the Apache, I want to work on the Vista’s IIS7.
I tried to install the php-5.2.6-Win32 on the vista ultimate but it doesn’t work !!!
I hope anyone can help me !!
by Abed September 4, 2008 at 10:12 amGreat post! I followed the instructions and it worked fine. I opened the localhost and I could see the “It works!” message. Then I tried to use an internet URL to reach my apache instance on Vista and I get “This webpage is not available.” I assume this is a permissions or virtual host based problem, but I can’t sort it out. DNS resolves correctly, port 80 traffic comes to my machine, but Apache will not load the “It works!” page. Any assistance with this problem would be apprecaited.
by James Legendre September 26, 2008 at 4:27 am[…] https://senese.wordpress.com/2007/06/06/installing-apache-on-windows-vista/ […]
by A Path Less Taken » Installing Apache on Windows Vista September 27, 2008 at 4:58 amIt works!!!
by Sebastian September 27, 2008 at 3:23 pmIt worked like a charm…. thanks a lot vere well explained :)… so http://localhost/ works fine in my PC; I have a network at home, but I can’t open it from my laptop. I tried http://127.0.0.1:80, and http://192.168.x.x which is my PC’s ip address but nothing… any idea?
by nixelhp October 2, 2008 at 5:28 pmThanks,
Bonjour
Je veux ce logiciel comme base de moodle.
Merci
Sylvain
by RAJAONA Sylvain October 21, 2008 at 5:49 amThanks a lot, man, it really worked out that way!
by Paul October 21, 2008 at 8:17 pmThank you.
by guennadi.com October 27, 2008 at 6:58 amAwesome help! Thanks.
by Martin November 4, 2008 at 9:22 pmYou are the bomb! Worked like a charm 🙂 Thank you!!
by Marge November 10, 2008 at 1:28 pmthx a lot…
by leo December 23, 2008 at 2:05 amworks super fine!
Thank you! Changing the option in skype worked like a charm just as you said!!
by Arvind December 31, 2008 at 3:36 amHello,
I have successfully followed the stepss and Apache has been installed. I can see the service running. I can also stop and start it without any problems.
But I can get to http://localhost
by Ashvin January 16, 2009 at 4:44 pmI tried but I always get ‘problem loading page message’. Please let me know what I can do?
[…] Hi, Maybe the following articles may help you: Install Apache on Windows Vista (Updated): https://senese.wordpress.com/2007/06/…windows-vista/ PS: The author also uses Home Premium. Install PHP under Apache and Vista: […]
by PHP | keyongtech January 18, 2009 at 4:55 pmFollowed the steps and it all worked for us, spent hours searching for a resolution.
by web hosting January 27, 2009 at 6:40 pmMany thanks
Thanks! Worked perfectly. I didn’t need to reboot at the end.
by Tac February 6, 2009 at 3:28 pmHi…could you help me please? How to install Apache for Vista Starter?
by lara February 13, 2009 at 2:23 amThe installation on vista, can be simply done by:
1. downloading the installer
2. running the installer as usually done on win xp,
3. after that, Start > All Programs > Accessories > Command prompt (right click and “run as administrator”)
4. in command prompt, cd to the “bin” directory in your installation directory.
5. type the command “httpd -k install” and that should install the service. Ignore the errors
6. vista will prompt for permission to run the service…. just say you know the application 😀
7. you will see the service on the apache monitor, and you can start and stop it as you used to BV(Before Vista) 😉
Cheers guys!
by Michael Kabugi March 7, 2009 at 2:05 pmThanks very much, i installed Apache on Vista home basic and it showing an error.
by Akshat March 13, 2009 at 6:05 amBut when i disabled User Account Control(UAC) and everything worked well. Thanks. God Bless You.
I have been sitting in front of my computer for days thinking of how I will go about the installation of Apache server, but I searched and got you on the internet. Big thanks for your easy instructions. It helped a lot. Now I can start programming in PHP.
by Bob March 15, 2009 at 12:04 pmi want to thnak you for this article.
by Mohamed Atif nassar March 16, 2009 at 5:17 pmThanks!
In my case, Skype was the troublemaker.
by Marnik March 17, 2009 at 10:59 amAfter changing the advanced connection settings in Skype (as suggested in step2), the Apache service started up without any error. No reinstallation needed.
I don’t know how you guys did it.
But its been days since I am trying to make apache work with Vista.
I turned off UAC. Firewall is off. Installation completed neatly. Still http://localhost gives nothing!!
I even tried installing XAMPP instead of Apache. That too doesn’t work.
Apache and Vista are not compatible atleast for some people.
by bits April 1, 2009 at 7:00 pmThank you very much
by Senthil April 8, 2009 at 3:47 amMy problem 2 comments above got solved.
In my windows host file there was only this line:
::1 localhost
I changed it to:
127.0.0.1 localhost
and viola I was able to see “it Works” !!
by bits April 8, 2009 at 1:45 pmThanks a lot. It was a wonderful tutorial.
by Radha April 14, 2009 at 12:29 pmDear,
Can u tell me how to set IIS as the default web server?
I have finished installing it successfully but i need it to work as the default one for other programs to get setup.
plz reply by mail.
by Mostafa Ramadan April 17, 2009 at 11:13 pmmostafa1407@gmail.com
s
by ss April 29, 2009 at 11:35 am[…] Fuente ¿Valorarías esta nota? Compártelo Imprimir Tags: windows vista « Como detener el Control de Cuentas de Usuarios en Windows Vista Inicio […]
by Como instalar Apache Web Server en Windows Vista Home Premium | Tecnone April 29, 2009 at 4:04 pmJust an FYI … I spent a long time trying to get server side includes – ssi – in apache 2.0 working on windows vista.
I eventually realized the httpd.conf file i downloaded was corrupt — it did not have the appropriate tags in place.
I’m not sure if the file was just corrupt on the site where i downloaded the file from, or if the problem is systemic in apache 2.0
The resolution was to download apache 2.2 and instal it.
just an FYI for server-side includes
by Jen April 30, 2009 at 10:53 pmJust an FYI … I spent a long time trying to get server side includes – ssi – in apache 2.0 working on windows vista.
I eventually realized the httpd.conf file i downloaded was corrupt — it did not have the appropriate tags in place. /
I’m not sure if the file was just corrupt on the mirror site where i downloaded apache 2.0 from, or if the problem is systemic in apache 2.0
The resolution was to download apache 2.2 and installed it — in the mirror i downloaded apache 2.2 from the httpd.conf file was back to normal.
just an FYI for server-side includes
by Jen April 30, 2009 at 10:56 pmI successfully installed Apache in my computer, I am using Vista, when I press http://localhost it can show “It works” but when I start Apache it show the following error:
httpd.exe: Syntax error on line 489 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf:cannot load C:/Program Files/Apache Software Foundation/Apache2.2/php5apache2.2.dll into server:\xa7\xe4\xa4\xa3\xa8\xec\xab\xfc\wa9w\xaa\xba\xbc\xd2\xb2\xd5\xalc…
Note the errors or messages above, and press the key to exit…
I’hv tried many many time to install Apache still not have error even I followed all instruction from above, please help!
Thanks
Shirley
by Shirley May 2, 2009 at 2:28 pmThank you so much… this was a pain.
by Bernard May 1, 2009 at 8:19 pmСпасибо. Заработало.
by Bratok May 2, 2009 at 1:56 amThis was the first time I ever tried to install Apache, the above instruction was like a cake walk.. thank u 🙂
Regards,#
by Shirisha May 16, 2009 at 10:32 pmShirisha
Hi can anyone help. I’ve done the step above from the tutorial but i am still having issues. When i do http://localhost. It does not work. I get “Connection Interrupted” , “It works” does not appear.
by fernando May 25, 2009 at 6:44 amtry httpd -X with Admin rights. Worked for me. Good Luck
by Joe Bloggs May 29, 2009 at 8:02 amGot it done at the very first attempt.Clean and Clear article. Thanks a lot !!!
by Amila Nilantha June 25, 2009 at 4:14 pmThe process to install XAMPP on vista looks easy, however I can’t seem to stop the other services that use port 80 (step 2 from instructions). The task manager tells me “NT Kernel & System” is using port 80. I tried to end the process and it won’t let me. I have no idea how to free up port 80 when it’s attached to this NT Kernel & System thing. Any ideas?
by Jewel Charles July 14, 2009 at 2:02 pm[…] past hour and a half. I put it on my XP pc no problem, Vista! I found the following invaluable – Install Apache on Windows Vista (Updated) molecular sieve I have always been keen to avoid Vista, although this week on purchasing a laptop (for a number […]
by Vista and PHP :( - BRISKODA - The Skoda Forums July 16, 2009 at 9:58 pmThank you very much. You save my day;)
by pit July 23, 2009 at 9:20 amHi. Thank you very much for the clear tut. After battling 6 weeks with XAMPP and the sorts I finally got what I want, thanks to you…
by Hans July 26, 2009 at 12:08 amIf localhost is not working but 127.0.0.0 and 192.168.0.X are working fine (“IT WORKS”) try the folowing:
C:\Windows\System32\drivers\etc\hosts
comment the last line
should look like this
127.0.0.1 localhost
# ::1 localhost
nice tutorial! thanks
by care August 1, 2009 at 3:56 amI followed the instructions above but gave an error that the listening ports were not available; I checked for the ports with netstat -a and port 80 was not used. So I am confused why vista won’t install apache. Any ideas?
Ram
by Ram August 3, 2009 at 4:04 pmThanks so much. Followed your instructions and everything is working fine.
by James August 17, 2009 at 4:47 amWanted to say hello
by Interlock Industries September 7, 2009 at 4:19 amThanks!
Interlock Roofing
Interlock Industries
Everyday row hosting service Rapidshare ( http://www.rapidshare.com ) has been slapped with a $33.4 million nice nigh a German court and ordered to take stricter regulations as a service to its uploaded satisfy, according to a variety of reports.
The lawsuit was brought by German royalties connoisseur GEMA, who called on the Regional Court in Hamburg to order the submit hosting benefit to cut off it from hosting 5,000 music tracks on its put in return download.
GEMA released a announcement in German addressing the court’s ruling:
“The judgment states that the hosting armed forces itself is in this day top instead of making sure that not any of the music tracks worried are distributed via its podium in the future. This means that the copyright holder is no longer required to act the perpetual and complex checks.”
The court concluded that Rapidshare and other alike resemble file sharing sites had not infatuated the gentlemanly measures to abort copyright infringement from occurring via the assignment
by geagovasops September 24, 2009 at 1:57 amThanks a lot brother…it worked 😀
by Imthaz October 28, 2009 at 5:31 pmThanks a lot!!!
by Mathieu November 12, 2009 at 3:32 pmhello, Thank you very very much for this tutorial… i was struggling with the installation for a lot of time until i finally found your instructions and followed them line by line. Thanks again…
by Tanya November 29, 2009 at 2:01 amThanks alot. I couldn’t install IIS on my Vista Home Premium but I could install Apache with your guideline 🙂
by Monika December 4, 2009 at 10:18 amim a newbie and i have a problem with step number 10 nothings happens, thanks!!!
by kirk December 17, 2009 at 7:52 amThanx for the blogpost.
by lekinceme January 1, 2010 at 10:47 pmI found the information very helpful and its just I have been struggling with for a while before now.
by Ade January 8, 2010 at 5:44 pmIts a grate job you’ve done. Thanks
thanks a lot for the easy steps…yes It worksss
by jj January 12, 2010 at 6:53 pmHi there.
Thank you for a great post. It was very helpfull.
Anyone reading this post should bookmark this guys contents.
I have a new PC and needed some installation help so i went over to http://www.InstallSoftware.com but they did not provide me with the in depth
info this guy did. he kicks all the bigger sites’ butts.
Thanks Again
by JohnnyCash February 1, 2010 at 12:40 amHi,
Am fairly new to this community + just thought it would be a good idea to introduce myself and say “Hi”.
Bye for now…
Athena
by roricliweex February 19, 2010 at 4:01 pmCream For Stretch Marks
more thanks. my install required domain/server
by mike March 23, 2010 at 5:38 pmused 127.0.0.1 (localhost not good with ipv6)
This is a great post you have written. Having this information will prove to be very useful going forward. Thanks.
by Parental Control April 20, 2010 at 9:12 pmit’s cool!!!
by kostet May 20, 2010 at 6:44 pmThanks a lot. it worked the manual u provided.
by srinivas May 25, 2010 at 1:18 pmVery Happy 🙂
Thank you!! Life saver.
by N June 14, 2010 at 3:30 pmthnx for the information,,,
by dekop October 5, 2010 at 3:45 amThis is a great post.thank you for sharing this informative post
by aflam maroc January 14, 2011 at 10:02 pmIt worked great! Thanks a lot
by Yves January 15, 2011 at 4:21 pmBeautiful! :-
by сервер под хрумер January 30, 2011 at 10:21 amSuper! Previous attempt to install Apache failed. Using your procedure it was done in few minutes!
by hk February 18, 2011 at 8:43 pmSo what happened to step 4?
by RGA March 15, 2011 at 2:29 pmAnyone know what the command line argument is to supply an alternate port to the MSI?
Here is a sample command line install:
msiexec.exe -I apache.msi INSTALLDIR=”C:\Foo”
I am looking for the parameter name to specify that apache be installed on port 8080. Use of the interactive install is not an option.
Thanks.
by rasha March 29, 2011 at 5:49 pmVery quickly this web site will be famous among all blog visitors,
by นมผึ้ง June 15, 2018 at 12:04 pmdue to it’s nice posts
Valuable information. Fortunate me I discovered your web
by adult-marketing.co.uk June 25, 2018 at 11:34 amsite by chance, and I am shocked why this twist of fate didn’t
took place earlier! I bookmarked it.
Hello, yup this article is really pleasant and I have learned lot of things from it on the topic of blogging.
by กุนซือลูกหนัง September 9, 2019 at 8:29 amthanks.
I was actually amazed to find this web site. Thank you for creating this wonderful read!! I definitely enjoyed your content, have bookmarked it and will be looking for future posts. If you have a chance check out my web site. It’s a work in progress, but I hope that someday it will turn out as renowned as yours. kelly kosky
by Louis While May 13, 2020 at 3:08 pmI’m impressed, I must say. Truly seldom do I see a web page that’s both educative and satisfying, and without a doubt, you have hit the nail on the head. Your idea is wonderful ; the subject is something that not enough people are speaking intelligently about. I am very pleased that I came across this. If you have a chance check out my site. It’s fairly new, but I trust that someday it will be as popular as yours kelly kosky
by Wilber Kracht May 17, 2020 at 3:30 pm