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! |