Page 1 of 1

How to get apache set up?

PostPosted: 08. September 2012 02:20
by jnewman11
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?

Re: How to get apache set up?

PostPosted: 10. September 2012 23:21
by hackattack142
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.

Re: How to get apache set up?

PostPosted: 11. September 2012 12:52
by ITBuff
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.

Re: How to get apache set up?

PostPosted: 21. November 2012 00:26
by lewisbd
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

Re: How to get apache set up?

PostPosted: 25. November 2012 21:08
by melost
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? =/

Re: How to get apache set up?

PostPosted: 28. November 2012 03:43
by hackattack142
[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