Destramic Posted October 31, 2006 Share Posted October 31, 2006 maybe this is a stupid question...but how would i shut down apahce (php and mysql) so that when windows loads apache isnt on....and so i could start apache when i wanted to use it?thanks destramic Quote Link to comment https://forums.phpfreaks.com/topic/25720-stopping-apache/ Share on other sites More sharing options...
wildteen88 Posted October 31, 2006 Share Posted October 31, 2006 OK. It appears you've installed Apache as a Windows Service. When you do this Apache automatically runs when Windows loads.If you want to manually start Apache, then follow these instructions:1. Go to Start > Run > Type services.msc2. The Services windows opens up. Scroll down the list of services until you find the Apache service.3. Right click on the Apache service and select Properties4. Look for the Startup Type menu under the General tab (should be seletected).5. Select Manual from the menu.6. Click OK and close the services WindowYou can do the same for MySQL too, however look for the MySQL service in the list.When you restart Windows now. Apache (and MySQL if you changed its startup type too) should not load up. In order to load Apache up you'll need to do it by opening up the Apache Monitor (icon in the taskbar) oir by going to Start > Program Files > Apache HTTP Server <version here> > Control Apache Server > Start.However with MySQL you'll need to start it via the Command Line or use the mysqladmin tool in the bin directory of the MySQL installation folder. Another way is to download the free MySQL Administrator tool from mysql.com too. Quote Link to comment https://forums.phpfreaks.com/topic/25720-stopping-apache/#findComment-117419 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.