PDA

View Full Version : Don't start Apache running on startup?



p|nK^bEe
November 28th, 2005, 20:10
Sorry, another question here.

How can I stop Apache from running automatically during start-ups?
I'm currently using net stop apache on the command prompt everytime I start my computer.

Any easier way to do it?

Tree
November 28th, 2005, 20:12
Is this on a *NIX or Windows machine?

If it's Windows, delete the file that corresponds to Apache in the STARTUP folder. If it doesn't appear there, go into msconfig and delete the startup file there.

On a *NIX machine, find the directory where all of the files start up. Then delete it there. If your slocate database is up to date, and you have MySQL starting up when your machine boots, type locate mysql.server or locate mysqld.server or locate mysqli.server.

Hope this helps.

Dini
November 28th, 2005, 20:27
If i'ts windows then open the Services admin tool and disable automatic start for the apache service

p|nK^bEe
November 28th, 2005, 20:27
If it's Windows, delete the file that corresponds to Apache in the STARTUP folder. If it doesn't appear there, go into msconfig and delete the startup file there.
Sorry, I'm still a noob at this. What msconfig and startup file?

Tree
November 28th, 2005, 20:29
If i'ts windows then open the Services admin tool and disable automatic start for the apache service

Go with eL.D1n1's answer. It's easier. I'm not really familiar with Windows based Apache, so I gave my general answer :p

But to get to msconfig, go to a command prompt, and type in msconfig. I don't have a recent version of Windows (XP), so msconfig might not work.

p|nK^bEe
November 28th, 2005, 20:47
Oh no... =(
Another dumb question, where is the services admin tool?

Mine only shows this:

http://img506.imageshack.us/img506/6875/untitled2fl.jpg (http://imageshack.us)

Tree
November 28th, 2005, 21:13
Start > Settings > Control Panel > Administrative Tools > Services > Find the Apache Service on that list (May be http or httpd) > Right-Click > Properties > Startup Type > Manuel.

p|nK^bEe
November 29th, 2005, 03:42
Thanks a million for your help, Tree! =))

Tree
November 29th, 2005, 05:26
Not a problem :)