How to get apache set up?

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

How to get apache set up?

Postby jnewman11 » 08. September 2012 02:20

I am reading PHP for absolute beginners by Jason Lengstorf, and I read the book once all the way through, now I get to start!

I set up (or thought) the XAMPP, but in the control panel it only lets me set up MySQL. When i try to "start" apache it says status change detected running, then it just stops? :evil:

I did this 4 different times & nothing. There is red text that says;


WARNING: Your install directory contains spaces. This may break programs
6:00:25 PM [main] Initializing Modules
6:00:25 PM [apache] Possible problem detected!
6:00:25 PM [apache] Port 80 in use by "system"!
6:00:25 PM [main] Starting Check-Timer

Anyone with any clues on what went wrong? Any suggestions to get this up and running?
jnewman11
 
Posts: 1
Joined: 08. September 2012 02:10
XAMPP Version: 5.6.3
Operating System: Windows

Re: How to get apache set up?

Postby hackattack142 » 10. September 2012 23:21

When 'system' is blocking, it is usually a Windows Service that is using the port. It would be a lot of things but one of the common ones is the World Wide Publishing service.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 702
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: How to get apache set up?

Postby ITBuff » 11. September 2012 12:52

Typical Blocking could be SQL.
If you run this from CMD:
Code: Select all
c:\>netstat -anbo

you may notice port 80 in use with the message
TCP 0.0.0.0:80 ....
Can not obtain ownership information
PID 4


it's possibly SQL Server Reporting Services.

If you do have this service Automatically started, change it to manual and stop the service.
ITBuff
 
Posts: 1
Joined: 11. September 2012 12:34
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: How to get apache set up?

Postby lewisbd » 21. November 2012 00:26

My apologies if this has already been addressed. I did not find the answer in existing posts:

I am running Windows 7 (64 bit) which is running SQL Server on Port 80.

I understand that if I shut down SQL Server I can free up Port 80 for Apache.

Is it the case, then, that I cannot run the Apache server on the same machine on which SQL Server is running?

If it is possible, then:
(1) can a different port be assigned to Apache?
(2) can a different port be assigned to SQL Server (without complications)?

Thanks
lewisbd
 
Posts: 2
Joined: 21. November 2012 00:04
XAMPP Version: 5.6.3
Operating System: Windows 7 (64 bit)

Re: How to get apache set up?

Postby melost » 25. November 2012 21:08

I'm having the same issues too. I've installed the version 1.8.1 VC9 on my Windows 7 (64 bit). First, Apache service just didn't started because port 80 was being used by "system", so I changed it to 81. Then, when I start Apache service it just give me following error:

System error. Code 5.
Access denied.
Access violation at address 005ABEFE in module 'xampp-control.exe'. Read of address 00000042
Access violation at address 005ABEFE in module 'xampp-control.exe'. Read of address 00000042


I tried changing it to port 80, but the problem still occurring. Sorry, but I'm not so good with it, so I don't know witch new port I could reconfigure Apache and Tomcat to make this work. Can anyone help me,please? =/
Last edited by melost on 25. November 2012 21:55, edited 1 time in total.
User avatar
melost
 
Posts: 2
Joined: 25. November 2012 20:50
Location: Brasil
XAMPP Version: 5.6.3
Operating System: Windows 7 Home Premium SP1

Re: How to get apache set up?

Postby hackattack142 » 28. November 2012 03:43

[quote](1) can a different port be assigned to Apache?]/quote]
Yes, you need to change it in the Apache config and the Control Panel config.

Could you try using the updated control panel to see if it fixes the system error: viewtopic.php?f=16&t=48932
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 702
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests