XAMPP - Apache service not working!

Reply

Join Date: Aug 2009
Posts: 22
Reputation: Smoking Bros is an unknown quantity at this point 
Solved Threads: 0
Smoking Bros Smoking Bros is offline Offline
Newbie Poster

XAMPP - Apache service not working!

 
0
  #1
Sep 18th, 2009
Hello everyone! I got a series of C++ tutorials and a series of Blender tutorials and 1 tutorial on how to get free Windows Vista look on your Windows XP on YouTube.. So I thought I would so some PHP tutorials too... And as always I wanted to check if everything was working before I started doing my tutorial.. So, I downloaded XAMPP 1.7.2, and it installed successfully without any errors, and MySQL works fine, but when I hit the 'Start' button to start Apache it says "Running" in like 10 secs, and then it stops running again.. And in the short time it is running when I try to hit "Admin" is cannot open the web-browser, and Apache service stops.. And the little text field in the XAMPP Control Panel Application says:
  1. Busy...
  2. Apache started
When I hit the "Start" button.. So I figured that I would like to go look at the error log at:
  1. C:/xampp/apache/logs/error.txt/
And in there when I hit the "Start" button nothing happens.. But when after like 10 secs when it stops by itself, I get this addition to the log:
  1. [Fri Sep 18 10:45:14 2009] [notice] Digest: generating secret for digest authentication ...
  2. [Fri Sep 18 10:45:14 2009] [notice] Digest: done
  3. [Fri Sep 18 10:45:16 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
  4. [Fri Sep 18 10:45:16 2009] [notice] Server built: Jul 22 2009 11:35:54
  5. [Fri Sep 18 10:45:16 2009] [crit] (22)Invalid argument: Parent: Failed to create the child process.
  6. [Fri Sep 18 10:45:16 2009] [crit] master_main: create child process failed. Exiting.
  7. [Fri Sep 18 10:45:46 2009] [notice] Parent: Forcing termination of child process 36
PLEASE help me, as I really would like to get those PHP tutorials started!
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 22
Reputation: Smoking Bros is an unknown quantity at this point 
Solved Threads: 0
Smoking Bros Smoking Bros is offline Offline
Newbie Poster

Re: XAMPP - Apache service not working!

 
0
  #2
Sep 18th, 2009
Come on guys! I really need some help on this!!
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,085
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: XAMPP - Apache service not working!

 
0
  #3
Sep 19th, 2009
You'll probably get better help with this posting at the xampp forum.
http://www.apachefriends.org/f/viewforum.php?f=16

This has little to do with PHP programming so it would be hard to answer your question. It is more to do with the apache server and specifically xampp.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 557
Reputation: network18 is an unknown quantity at this point 
Solved Threads: 64
network18 network18 is offline Offline
Posting Pro

Re: XAMPP - Apache service not working!

 
0
  #4
Sep 22nd, 2009
If we hav any other web server running apart from apache(installed through XAMPP in ur case) the apache wont work.
First check for any other server installed.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,542
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 137
cwarn23's Avatar
cwarn23 cwarn23 is offline Offline
Posting Virtuoso

Re: XAMPP - Apache service not working!

 
0
  #5
Sep 23rd, 2009
MySQL works fine, but when I hit the 'Start' button to start Apache it says "Running" in like 10 secs, and then it stops running again.. And in the short time it is running when I try to hit "Admin" is cannot open the web-browser, and Apache service stops..
I have this problem a lot with XAMPP. The usual procedures is first to press Ctrl+Alt+Delete to go into the task manager. Then end task to the process named apache.exe and httpd. After that try reopening your control panel and single click the apache load button. Then wait for 20 seconds then if not loaded double click on the load apache button instead of single click. Normally that works for me.
Try not to bump 10 year old threads as it can be really annoying.
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*`
My favourite PC. - Oopy Doopy Do 2U2!
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 1
Reputation: EtanaChesna is an unknown quantity at this point 
Solved Threads: 0
EtanaChesna EtanaChesna is offline Offline
Newbie Poster

Re: XAMPP - Apache service not working!

 
0
  #6
Sep 23rd, 2009
I had the same issue but resolved it.

I had a previous version of Perl installed and had Environment Variables set. Apache crashed because the path to perl was using my old paths. I removed the paths through the System Properties Advanced Tab under Environment variables.

This may not be your issue but I thought I'd share my resolution.

The following link had some helpful information as well:

http://www.netshinesoftware.com/comp...on-XAMPP.html/
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,085
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: XAMPP - Apache service not working!

 
0
  #7
Sep 25th, 2009
Something else to watch out for is Skype. If you have skype turned on, it may be taking up port 80 so you won't be able to start Apache.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 7
Reputation: dougbarrett is an unknown quantity at this point 
Solved Threads: 1
dougbarrett's Avatar
dougbarrett dougbarrett is offline Offline
Newbie Poster

Re: XAMPP - Apache service not working!

 
0
  #8
Sep 25th, 2009
Originally Posted by digital-ether View Post
Something else to watch out for is Skype. If you have skype turned on, it may be taking up port 80 so you won't be able to start Apache.
The same thing happened to me! When I realized Apache wasn't working, I realized Skype uses port 80 as well so shutting down skype and starting apache worked fine.

Look here for help on changing the Skype port:

http://forum.skype.com/lofiversion/i...hp/t31024.html
Beginning my career as a freelance web design, PHP software engineer, and Director of Technology for a large non-profit company in Southern California
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the PHP Forum


Views: 1520 | Replies: 7
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC