Softaculous


Topic : Installing AMPPS as a service - configuration


Posted By: fblauer on January 4, 2012, 10:14 pm
AMPPS - How can I install apache and mysql as services? I can't get to this check box, even if I run the program as an administrator. It is always greyed out. The only thing I can do is click on "start on session startup".

Posted By: tidus on January 5, 2012, 6:13 am | Post: 1
Quote From : fblauer January 4, 2012, 10:14 pm
AMPPS - How can I install apache and mysql as services? I can't get to this check box, even if I run the program as an administrator. It is always greyed out. The only thing I can do is click on "start on session startup".


Hi,

This feature is for Windows XP & Windows Servers only. We are still working on it.


Edited by tidus : January 5, 2012, 6:38 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: jesseschulman on January 17, 2012, 3:04 pm | Post: 2
Just posted this in another thread:

http://www.softaculous.com/board/index.php?tid=1391&title=Ampps_as_service

This works for Win2k8 R2:
http://www.tacktech.com/display.cfm?ttid=197

Posted By: fblauer on January 17, 2012, 4:01 pm | Post: 3
Thanks, but I am using windows 7.

Posted By: jesseschulman on January 17, 2012, 5:47 pm | Post: 4
I'm pretty sure that will work under Windows 7 as well.  I can test it out if you don't want to try it.

Posted By: Arangorn on February 29, 2012, 11:03 pm | Post: 5
Quote From : jesseschulman January 17, 2012, 3:04 pm
Just posted this in another thread:

This works for Win2k8 R2:
http://www.tacktech.com/display.cfm?ttid=197


This works for creating a windows 7 user defined service.  What I am hoping someone could help with is how to use that to make MySQL a service.  I am using MySQL Workbench and the server administration feature (importing/exporting specifically) require Workbench find a MySQL service.

Posted By: tidus on March 1, 2012, 6:16 am | Post: 6
Quote
This works for creating a windows 7 user defined service.  What I am hoping someone could help with is how to use that to make MySQL a service.  I am using MySQL Workbench and the server administration feature (importing/exporting specifically) require Workbench find a MySQL service.


Hi Arangorn,

Open cmd in Administrator mode(Right click on cmd -> Run as Administrator )

Then type the following command
Code
"C:\Program Files (x86)\Ampps\mysql\bin\mysqld.exe" install


Note: Make sure you put the path of your respective Ampps.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: unclepips on March 9, 2012, 10:06 am | Post: 7
I used this method of starting both MySQL and Apache as services at the CMD prompt (started with Administrator privileges)

"d:\ampps\mysql\bin\mysqld.exe" install

and

"d:\ampps\apache\bin\httpd.exe" -k install

The only down side to doing it this way is that I don't seem to be able to use the AMPPS Control Center to restart the services - you have to go into the Services in Control Panel to do this.

Regards,
Phil

-----------------------
If it ain't broke...... Fix it until it is!

Posted By: unclepips on March 9, 2012, 10:17 am | Post: 8
Quote From : unclepips March 9, 2012, 10:06 am
I used this method of starting both MySQL and Apache as services at the CMD prompt (started with Administrator privileges)

"d:\ampps\mysql\bin\mysqld.exe" install

and

"d:\ampps\apache\bin\httpd.exe" -k install

The only down side to doing it this way is that I don't seem to be able to use the AMPPS Control Center to restart the services - you have to go into the Services in Control Panel to do this.

Regards,
Phil

Have just been playing about with this - I can stop/start/restart the MySQL service using the Ampps Control Center, but Apache refuses to respond to the buttons in the Control Center.
I have written a windows batch file which is on my desktop to do the job for me:-

Save this as apache_stop.bat
Code

@echo off
d:\ampps\apache\bin\httpd.exe -k stop


Save this as apache_start.bat
Code

@echo off
d:\ampps\apache\bin\httpd.exe -k start


Save this as apache_restart.bat
Code

@echo off
d:\ampps\apache\bin\httpd.exe -k restart


As with the previous post, to execute these files, you need to right click and "Run as Administrator"

Hope this helps.
Regards,
Phil


-----------------------
If it ain't broke...... Fix it until it is!

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.