apache started port 80 busy warning directory mismatchCont'd

Problems with the Windows version of XAMPP, questions, comments, and anything related.

apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 04. April 2009 19:33

I was googling the busy port 80 prob on starting apache and noticed for some there was a conflict with skype. I have no other programs running but this IS on Virtual PC for the mac. I wonder if VPC is conflicting with port 80? It shouldn't be but in order to test it should I change the port to 8080?I am running Windows XP pro. It should work since I have the full Windows XP pro running.
How can I change the port to 8080 for apache.

I had an error when I run the xampp start batch file The problem is something about a syntax error on line 7 of the httpd.conf. I installed on c:\program files\xampplite Would it help if I installed XAMPP full not the xampplite? If it would help I would try installing on c:\xampplite higher level but I did everything right on the install.

Would installing xampp be better than xampplite? I only need apache and php to test 1 script.
tnx,
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44

Re: apache started port 80 busy warning directory mismatchCont'd

Postby Wiedmann » 04. April 2009 19:43

I was googling the busy port 80 prob on starting apache

How can Google know which programs are running on your pc?

Use a tool like xampp-portcheck, netstat, tcpview, ... to find the conflicting program.

I wonder if VPC is conflicting with port 80?

Normally not. It's a separate networkinterface.

The problem is something about a syntax error on line 7 of the httpd.conf

But are you sure you have a port 80 problem, if you can't start apache because of an syntax error in your config file?

Would installing xampp be better than xampplite?

From what I read in the forum, the current xampplite is not the best one...

I only need apache and php to test 1 script.

Maybe not using XAMPP and install Apache and PHP yourself instead?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 04. April 2009 20:22

thanks for your reply, installing php and apache on VPC sounds like a torture. Its very slow. In answer to your question. Am I sure I have a port 80 conflict. That is what the control panel says, maybe that is a canned response. The other error was from the start xampp batch file. I just looked in the httpd.conf
I think line 7 is this line, but I can't tell because I'm looking in Word pad.
this looks wrong:
server root c:/program files/xampplite/apache

should be:
c:/program files/xampplite/apache/conf

That is where httpd.conf is. It might not be line 7 ,it might be line 3, but it still is wrong if it is looking for httpd.conf

I edited the httpd.conf and changed the path to c:\program files\xampplite\apache\conf
Now I get a different error message:
It cannot load /modules/mod_actions.so into server: The specified module cannot be found. I hope it is okay to edit httpd.conf in Wordpad. This is line 67 so it got past line 7.

thankx,
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44

Re: apache started port 80 busy warning directory mismatchCont'd

Postby Wiedmann » 04. April 2009 20:43

installing php and apache on VPC sounds like a torture.

As easy as with a real pc.

Its very slow.

So I guess, your pc don't meet the requirements for a simple Windows VPC. ;-)

but I can't tell because I'm looking in Word pad.

Why "because"? But I think "notepad" is a better tool to do such tasks.

this looks wrong:
Code: Select all
server root c:/program files/xampplite/apache

Sure that is a correct copy 'n paste ("server root" is really curious)?
Should be:
Code: Select all
ServerRoot "c:/program files/xampplite/apache"


Have you used "setup_xampp.bat" (see readme_en.txt)?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 04. April 2009 21:38

I changed the server root back to:
server root c:/program files/xampplite/apache
because that is why it couldn't find the first module.
I tried the port check utility. It just died . It started to check and then the window closes.
I think I will try installing it once more from scratch and this time at the top level.
If that doesn't work I will try xampp full if I can get it to download.
I will check back here to see if there are any other comments.
thanks for your help.
Janis
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44

Re: apache started port 80 busy warning directory mismatchCont'd

Postby Wiedmann » 04. April 2009 21:56

I changed the server root back to:
Code: Select all
server root c:/program files/xampplite/apache

That's also wrong. Please read my last post more carefully.

I tried the port check utility. It just died
.
So you have to use another test tool (2 others I have posted)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 04. April 2009 22:25

Would I love to not download this once more. It has taken 3 days.

The path is serverroot. I didn't change anything, just added the \conf directory then changed it back. Sorry for the typo.
I ran apache start once more.
I got the same error as last time.
The error is:

"Syntax error line 477 of c:/Program Files/xampplite/apache/conf/httpd.conf Syntax error line 7 of c:/Program Files/xamplite/apache/conf/extra/httpd-xamp.conf cannot load c:/Program Files/xampplite/apache/bin/php5 2.2.dll into server"


I got the portcheck to work. I got a dialog in German though but I got the dos window. It says 80-free, 81-free and 443-free.
So that is good. Seems like it should work.

When I stop XAMPP it keeps saying cannot kill the apache.pid. Is that why there are 2 httpd.conf files?
I started XAMPP again. The error cannot load Apache 2.2.dll into server. There are 2 httpd.conf in /apache/conf/extra/http-xamp.conf. I restarted VPC.
I checked this directory. There are not 2 apache/conf/extra/http-xampp.conf files in that directory.

thanks
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44

Re: apache started port 80 busy warning directory mismatchCont'd

Postby Wiedmann » 04. April 2009 22:58

"Syntax error line 477 of c:/Program Files/xampplite/apache/conf/httpd.conf Syntax error line 7 of c:/Program Files/xamplite/apache/conf/extra/httpd-xamp.conf cannot load c:/Program Files/xampplite/apache/bin/php5 2.2.dll into server"

I guess the .NET Framework 1.1 is missing on your system.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 04. April 2009 23:52

I would think it doesn't have .NET since it is aMac running Tiger but it does have xp pro.
I installed the full xampp thinking the other one is missing something. I have no errors now BUT
I tried starting apache. I didn't run any bat files I just installed at the top level c:\xampp
The problem is it doesn't give me an error it just hangs. It isn't starting. It just says Apache 2 is starting....
Am I supposed to run a setup file? This may be my answer it doesn't work on VPC but in case I'm missing something.
The other Apache 2 seemed to start and at least give me a message.

thanks,
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44

Re: apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 04. April 2009 23:59

I ran the setup batch file. It doesnt' seem like apache wants to start. It said something about a missing socket. Now it is hanging.
It appears that it won't work on VPC. DARN. THANKS, anyway, the light version was more responsive.
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44

Re: apache started port 80 busy warning directory mismatchCont'd

Postby Wiedmann » 05. April 2009 00:04

I would think it doesn't have .NET since it is aMac running Tiger

How can you install/start a Windows program (XAMPP for Windows) on a OS X?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 05. April 2009 00:39

It is running VPC with Windows XP Pro. I had hope :-)
Okay, I moved to a friends XP Windows PC.
I installed xampplite. I have it running. Thanks for your help.
Sorry, but I thought I mentioned it was MacOS. I have to get a new mac
with Parallels and an Intell chip, I don't understand why it wouldn't work but I guess the framework has something to do with it. It does mention that you need a real hard drive.
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44

Re: apache started port 80 busy warning directory mismatchCont'd

Postby Wiedmann » 05. April 2009 01:06

It is running VPC with Windows XP Pro

OK, so you have a Windows XP running. If this Windows is stand alone (host), or guest in a VPC, is not from interest.

but I guess the framework has something to do with it.

And as I told you, for a XAMPP Lite you need an installed .NET Framework 1.1 on this Windows.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: apache started port 80 busy warning directory mismatchCont'd

Postby jlrough » 05. April 2009 02:30

Xampp full version is working on Virtual PC on a Mac running Tiger. Not an Intel Mac. This is good news. It didn't work with SQL Lite as you mention it needs .Net framework.
Thanks for your help.!!!!!
jlrough
 
Posts: 14
Joined: 10. October 2008 22:44


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 126 guests