Apache as Service [SOLVED]

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

Apache as Service [SOLVED]

Postby DrMopp » 13. March 2012 22:58

Apache (and MySQL) start and run without problems when started from XAMPP Control Panel, but not if I attempt to install service from XAMPP control panel. Have tried changing port from 80 to 1234 in httpd.conf file but made no difference, still OK from control panel but not as service. Have looked at the many posts concerning similar issues with port 80 but can't find any that match this behaviour. Any ideas welcomed.
DrMopp
 
Posts: 4
Joined: 28. February 2012 00:29
Operating System: Windows Vista 32-Bit

Re: Apache as Service

Postby Sharley » 13. March 2012 23:13

I take it you are using the older 2.5 control panel that has the Svc check boxes?

Usually in Vista the need to disable UAC seems to be essential as does running the control panels as an administrator to change the Windows Services behaviour.


You could use the version 3 control panel found in the xampp installation folder:
xampp-control-3-beta.exe
Right click on it to select to run as an admin for best results.
Stop all XAMPP components and remove the ticks in the Svc check boxes then click on Exit in the older 2.5 version before starting this version 3 control panel.


Just to add, the latest and greatest Control Panel Version 3 download post is linked below my signature.
Simply extract all the files from the CPv3 folder in to the xampp installation folder and overwrite when asked - do not extract the CPv3 folder complete, only extract it's content.
Then right click the exe file to run as administrator and to create a shortcut to the desktop for example, for easier access.

Make sure that you have exited all other control panel versions before starting this latest version.

This version 3 (XCPv3) control panel has many new features including a much more detailed log window and a button to easily access the log files to help with troubleshooting start and running issues.


Also with the latest XCPv3 you can click on the Windows-Services button, find the Apache2.2 and mysql services and Start/Stop and uninstall the services manually if the XCPv3 fails to do it for you.
Again make sure that you have Stopped all XAMPP components and removed the ticks in the Svc or the Service columns before using this latest XCPv3.

Best wishes. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Apache as Service

Postby DrMopp » 14. March 2012 22:21

Thanks, installed Version 3 control panel, but turns out it was my understanding of what the check boxes do that was incorrect. Perhaps this version makes it more obviuos that having installed the service with the checkbox you still have to start it! I was expecting it to install and start. Certainly helps showing the port and process numbers.
DrMopp
 
Posts: 4
Joined: 28. February 2012 00:29
Operating System: Windows Vista 32-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests