Page 1 of 1

Issue with XAMPP version 1.7.0 in vista

PostPosted: 16. January 2009 19:26
by PickleBranston
Hi all,

Trying to run apache on vista through an external hard drive, is this even possible? I have run out of space on main hard drive so trying to run it this way.

Ok so my problem is basically trying to run it; i unzip the package run xampp-control.exe click to start apache and I (for about half a second) get the green running light (and the start button turns to a stop), before both of them going back to how they were before. The text below says nothing about apache turning off, so i test it by typing http:/localhost into both firfox and ie as i was advised to do and just get a failed to connect message.

Hope this is all the information you need (and i havent done anything stupid!)

Thanks in advanced
Ed

Re: Issue with XAMPP version 1.7.0 in vista

PostPosted: 16. January 2009 20:04
by peterl
Further to the earlier post;

I have also installed on Vista using the zip file and it doens't start Apache at all. I keep trying and it gives a windows error message code 1.

When I try to uninstall Xampp Visata requires me to change the attributes from read-only to archive. When I delete Vista tells me I need permission for that and when I go back to check the attributes they are read-only again. Very frustrating. Anyone know how to get rid of XAMPP in Vista?

Re: Issue with XAMPP version 1.7.0 in vista

PostPosted: 16. January 2009 20:14
by peterl
Here is the error I get when I try to start apache in Vista:

Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue . . .

Re: Issue with XAMPP version 1.7.0 in vista

PostPosted: 17. January 2009 01:57
by Izzy
You did the correct thing by running the apache_start.bat file to get the reason Apache will not start.

The error is telling you that something else is occupying the ports that XAMPP requires exclusively to run.

Double click on xampp-portcheck.exe or right click and select to run as administrator.

All ports should be free.

The usual culprits are Skype and the default Windows server IIS.
This post explains how to get rid of those hogs from the ports they occupy.
viewtopic.php?p=133216#p133216

You need to be an administrator or a super administrator not simply a logged in User in Vista to take full advantage of XAMPP features and also it may be advisable to turn off UAC (User Account Control) to administrate your XAMPP server.

Re: Issue with XAMPP version 1.7.0 in vista

PostPosted: 17. January 2009 12:24
by PickleBranston
So i have managed to get here;
I have changed ports for skype (and then closed it down) i never had IIS installed so i have left it turned off. I made xampp and exception for windows firewall. I run apache_start.bat and this is what i get, (doesnt seem to mention anything about port errors, instead directory).

Diese Eingabeforderung nicht waehrend des Running beeden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apace 2 is starting ...
apache.exe: Syntax error on line 42 of F:/Website/xampp/apache/conf/httpd.conf:
ServerRoot must be a valid directory

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue...


Does anyone know what this .conf file is all about and why mine might be broken?

Cheers Ed

Re: Issue with XAMPP version 1.7.0 in vista

PostPosted: 17. January 2009 12:34
by Wiedmann
apache.exe: Syntax error on line 42 of F:/Website/xampp/apache/conf/httpd.conf:
ServerRoot must be a valid directory

You have executed "setup_xampp.bat"?

Re: Issue with XAMPP version 1.7.0 in vista

PostPosted: 17. January 2009 12:40
by PickleBranston
NO i hadn;t and that solved it.
Thanks very much!

I am following a guide from the for dummies series it seems they didnt i would need to know that little detail lol.

Cheers All

Re: Issue with XAMPP version 1.7.0 in vista

PostPosted: 17. January 2009 13:28
by Wiedmann
I am following a guide from the for dummies series

Maybe it's better to always follow the official installation guide ;-)