Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does Apache work with Vista for PHP/mySQL? 1

Status
Not open for further replies.

SubjectiveEffect

Technical User
Apr 19, 2006
14
I had Apache/PHP/mySQL on my XP machine but stopped using that setup because... well because.

Anyway, I now have a new machine with Vista and I want to set up the same thing. So my question is as in the title.

Does anyone know yet?
 
I'm trying to install Apache on my new machine and failing. Whilst installing Apache, PHP and mySQL last time, on Win XP, was no walk in the park I'm sure I never had this issue last time. In any case I've no idea where to begin to solve it so I'm throwing it open to you guys.

I'm running Vista Home Premium on an Intel Core 2 Duo machine.
Files I have: apache_2.2.4-win32-x86-no_ssl.msi and php-5.2.2-win32-installer.msi

When attempting an Apache install I get this error:

"Installing the Apache2 service
(OS 5)Access is denied. : Failed to open the WinNT service manager
Note the errors or messages above, and press the key to exit. 20..."

Followed by this (once I press ESC):

"[Sat May 26 02:21:34 2007] [error] (OS 2)The system cannot find the file specifi
ed. : No installed service named "Apache2".
Note the errors or messages above, and press the key to exit. 21..."

Clearly it hasn't worked but ever the optimist I tried to install PHP, rationalising that it may just be Vista being a dick and that the install may have worked. Hey, I've done it with other programs before, not necessarily on this set up but sometimes it just works. Anyway, the PHP installer tells me it cannot find Apache 2. Fair enough.
 
I don't care much for Windows based servers but then again I'm not here to judge. I will just have to pray for you. I just did a google search for "wamp vista" and it came up with a few links. I guess you're not the only person I'll be praying for.
 
Have you considered a Linux solution? (I will judge...:) )

Something like Ubuntu or one of its derivatives. I use Kubuntu. The look/feel of KDE should be a smoother transition for a Win user. Outside of the package manager, you could type "apt-get install apache2 php5 mysql-server", wait for the install to be done, configure how you want it, and that's pretty much it.

Hell, run it on the Live cd and see how you like it.

Good luck.
Mark
 
Hey Guys,

That link fsenese posted was brilliant!.... except for one thing (which im pretty sure is an issue on my end) :p

I went through everything step by step with only ONE hickup while installing Apache right at the end, but i persisted through as I needed to install PHP as well.

Anyways, everything is fine, EXCEPT, this error appeared as Apache finished installation. Also whenever i click on 'Start' for Apache to run it appears...

"An attempt was made to access a socket in a way forbidden by its access permissions. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down"

Can anyone shed some light???

Thanks in advance :)
 
Did the Apache service start up? Try checking your firewall; is http port 80 open?
 
ITElements,

the problem is that IIS (Internet Information Services), the webserver in windows, already uses port 80. You just need to change IIS to listen to another port, for example, 8080. Changing the port number depends on your Windows version and IIS version. Just do a google search and you will find it easily.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top