View unanswered posts | View active topics It is currently Thu Nov 30, 2023 11:30 am



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
 Help using Apache and Xampp 
Author Message
Junior Member

Joined: Mon Jul 16, 2007 3:16 am
Posts: 3
Post Help using Apache and Xampp
Hi,
I am a complete newbie with Xampp so I'm sure this is something really silly.

I've downloaded and installed Xampp 1.6.2 for Windows XP and everything installed as it should. When I open the control panel I can start mysql but not Apache. When I click start for Apache all that happens is I get this message:

Busy...
Apache started [port 80]

Apache does not say it is running and the start button is there instead of stop. I've tried changing the port to 85 in httpd.conf. I did this by changing Listen 80 to 85 and the servername to Localhost:85 in httpd.conf in the Apache folder. This made no difference as it still came up as port 80 in the Xampp control panel.

I also run IIS on my PC as I often use .asp so I've put the Apache port back to 80 and changed the IIS port to 8080 instead. This has worked as I can view my .asp pages locally on localhost:8080 but Apache still won't start.

I've also done a google search and discovered AMPstart. I've downloaded this to the Xampp folder on C:/xampp. But this just says it can't start Apache.

If I test my PHP file I just get a page cannot be found error.

I am at a complete loss now as I have had Apache and PHP running on this PC before but a friend recommended Xampp as an easy way to install all the applications I wanted. I uninstalled Apache and PHP so that I could install Xampp instead.

Somebody please help!!!!

Thanks
Kirsty


Mon Jul 16, 2007 3:18 am
Report this post
Profile
Junior Member

Joined: Mon Jul 30, 2007 9:39 am
Posts: 1
Post 
I am trying to get asp to work with my xampp and i cant get it to work, i was wondering if you knew of a tutorial showing how to do this? thanks for your help.


Mon Jul 30, 2007 9:43 am
Report this post
Profile
Junior Member

Joined: Mon Jul 16, 2007 3:16 am
Posts: 3
Post 
Hi,
The only thing I did to get .asp and php running on the machine was change the port that IIS listened to. To do that I followed this tutorial:

http://support.microsoft.com/kb/149605

after doing that I used the last part of this tutorial to the port in httpd-ssl:
http://varunkrish.com/making-apachexampp-and-iis-work-together.html

Its sounds very complicated but actually isn't. By following these I now have apache using port 80 and IIS using port 8080 quite happily.

I hope that helps


Mon Jul 30, 2007 10:26 am
Report this post
Profile
Junior Member

Joined: Wed Sep 12, 2007 7:41 pm
Posts: 2
Post 
kirstyburgoine Wrote:
Hi,
The only thing I did to get .asp and php running on the machine was change the port that IIS listened to. To do that I followed this tutorial:

How to Change the TCP Port for IIS Services

after doing that I used the last part of this tutorial to the port in httpd-ssl:
Making Apache,XAMPP and IIS work together at Varun on the Web

Its sounds very complicated but actually isn't. By following these I now have apache using port 80 and IIS using port 8080 quite happily.

I hope that helps


I got same problem like what you said on the 1st floor.
the port of apache 80 always busy busy busy. ( the IIS port is changed to 123)
I check port 80 , it is free.
all so change httpd-ssl.conf the 2 ports like the black website.But apache can not work like before. SADDDDDDDDDDDDDDDDDDDDDDDD.
could you plz tell me how you do this ? need reboot deskcomputer? I did, but no use.

I need you help ,buddy! You are the only 1 who conquer the problem.
my email : [email="crackpcp1@126.com"]crackpcp1@126.com[/email]

Looking forward to your reply.


Wed Sep 12, 2007 7:50 pm
Report this post
Profile
Junior Member

Joined: Wed Sep 12, 2007 7:41 pm
Posts: 2
Post 
I m chinese ,I make a mistake to put xampp into a chinese directory.xampp does not recognize chinese words.sad.
I solve the problem :

1. I move the xampp whole directory to D:
2.the file d:\xampp\apache\conf\httpd.conf
maybe yours : C:\xampp\apache\conf\httpd.conf

I changed "listen 80" and "ServerName localhost:80"
to "listen 4498" and "ServerName localhost:4499"
3. run "regedit" , fine "apache" and del what you can del, left 2 directories can not del
4. Just run "xampp-control.exe" , everything is ok.
But ineresting , the texts showed in the xampp-control.exe window , still said:
"busy...
apache started [port 80]
LoL

before I wrote the article, I move xampp directory to desk top and to D:\ to make sure the solution works.

I think
apache the sentence of "started [port 80]" is wrote into apache's program,can not be change by what port you use.
ok, everybody , go ahead! Keep fun!


Thu Sep 13, 2007 12:56 pm
Report this post
Profile
Junior Member

Joined: Sun May 10, 2009 5:07 pm
Posts: 2
Post Me too!
Wow! It looks like this post is two years old. I'm (in 2009) having the same problem. C'mon guys. Where all my apache runnin' niggazz at? Somebody gotz to know! Kirsty! If you're still out there in PHP land and you've got the answer to this question pleeeeeze post it. That is if you ever solved it (with servers you never can be sure). Heeeeeeeelp!

kirstyburgoine Wrote:
Hi,
The only thing I did to get .asp and php running on the machine was change the port that IIS listened to. To do that I followed this tutorial:

How to change the TCP port for IIS services

after doing that I used the last part of this tutorial to the port in httpd-ssl:
Making Apache,XAMPP and IIS work together | Varun on the Web

Its sounds very complicated but actually isn't. By following these I now have apache using port 80 and IIS using port 8080 quite happily.

I hope that helps


Sun May 10, 2009 5:16 pm
Report this post
Profile
Junior Member

Joined: Sun May 10, 2009 5:07 pm
Posts: 2
Post Ureka!
Ok my niggaz. I found the answer. Uninstall skype. I found that answer on another board. I tried it. It was that easy.:)


Sun May 10, 2009 5:23 pm
Report this post
Profile
Junior Member

Joined: Sat Nov 14, 2009 4:42 pm
Posts: 1
Post 
If XAMPP Apache won't start...
and your not running IIS...
and you're not running Skype...


Continue reading. Solution below (Windows)

First, open C:\xampp\apache\logs\error.log and see what the error is.

If the error says that a port is already in use, the instructions below will explain how you can determine which application is using that port (Windows).

My error log entry said that Port 443 was already being used (and I wasn't running IIS or Skype)

(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:443
no listening sockets available, shutting down

To determine which application is using Port 443 (or port 80), do the following (Windows)

1. Open a DOS window - Start | Run | "CMD"
2. Type the following: netstat -aon
3. Find the local address using :443 (example: 127.0.0.0:443)
4. Now find the PID associated with that active connection (last column) - This is the application that's using that port.

To figure out what application is associated with that PID, do the following:
5. Open Task Manager (Ctrl+Alt+Del) and select the Processes tab.

By default, you will only see the following columns in the Process Tab:
- Image Name
- UserName
- CPU
- Mem Usage

6. From the dropdown menu, Click "View" and then "Select Columns..."
7. Place a check next to PID (Process Identifier) - you will now be able to see the PID for each application running
8. Find which process is associated with the PID

You have now identified which application is screwing up your Apache Service.

btw, my problem was PMB.EXE, which is Pando Media Booster. Pando Media Booster is the Peer-to-Peer downloader client for Dungeons and Dragons Online. As soon as I uninstalled it, Apache started no problem.

Just thought I'd share. I hope that helped. :)


Sat Nov 14, 2009 4:45 pm
Report this post
Profile
Junior Member

Joined: Tue Mar 30, 2010 3:06 pm
Posts: 1
Post Here's how to fix the problem without removing your existing applications
Hi guys,

I ran into the same problem as you all. In case anyone else stumbles across this forum, here's how to fix it.

Kaemon's entry was also very helpful, wish I'd read that earlier! But anywho, if xampp has been working in the past or even if you've just installed it, the majority of the time apache has problems starting up is because it is trying to use ports that are already being used by other programs. Especially Ports 80 and 443. Rather than going to lengths trying to figure out what is using the ports you need and disabling them you can just simply specify new ports for xampp to use.

Change the following lines in your xampp configuration by opening them up in a text editor like notepad or whatever you use

C:\xampp\apache\conf\httpd.conf:

  • Scroll down and find “Listen 80″, change to “Listen 8080″
  • Also find “ServerName localhost:80″, change to “ServerName localhost:8080"
C:\xampp\apache\conf\extra\httpd-ssl.conf

  • Scroll down and find “Listen 443″, change to “Listen 4499″
  • Also find “<VirtualHost _default_:443>”, change to “<VirtualHost _default_:4499>”
  • and just below that find “ServerName localhost:443″, change this to “ServerName localhost:4499″
Now try re starting xampp and seeing if apache starts correctly. If it does you just have to remember to specify the port when you're using your browser. So now rather than just going to:
http://localhost/xampp/
You should now use: localhost:8080 (or whatever port you specified in httpd.conf above)
http://localhost:8080/xampp/

*Also note, you don't specifically have to use ports 8080 or 4499. If you're still having problems and try repeating the steps and specifying a different port instead.

Kind Regards,

Lucas ;)


Tue Mar 30, 2010 3:22 pm
Report this post
Profile
Junior Member

Joined: Fri Apr 23, 2010 11:03 am
Posts: 1
Post 
Great thanks a lot!!


Fri Apr 23, 2010 11:08 am
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.