Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Processing power for Apache2 and MySQL

Continuous running OK for local computer?

9:59 pm on Oct 21, 2008 (gmt 0)

10+ Year Member

I run Apache2 and MySQL continuously on my various local computers - I find that handly for testing sites locally before uploading to a webhost server. That's all I use them for - so much of the time they could be switched off. Would there be any benefit in doing that? I do wonder if it might speed things up at times for other appilications.
6:36 am on Oct 22, 2008 (gmt 0)

5+ Year Member

Obviously depends on your system. If you have like 2 Gigs of ram and don't use any 'big' programs, then everything's fine. Otherwise, if you have low ram, or if you need all the ram you can get for some some task - then it's also OK to turn Apache/SQL on and off as needed. Just make sure you clean up those log files, especially in Apache.
10:07 pm on Oct 22, 2008 (gmt 0)

10+ Year Member

ag_47 good call on the logs. One of my laptops has but 512MB RAM (using Windows Xp) - so I'll look at switching Apache off, unless needed (the other PCs have 2GB). Ideally I'd like Apache and MySQL off unless needed - maybe I'll have to uninstall to do that?

PS I'm running Apache 2.0.54 - a little ancient - but it has been fine for the testing purposes I use it for. One of the computers I use has Vista - the others Xp.

1:11 am on Oct 23, 2008 (gmt 0)

5+ Year Member

You can start/stop MySQL server via "Start > Administrative Tools > Services" (also make sure it's set to manual start up.)

As for Apache, if you have "Apache Monitor" installed (in the taskbar), then you can Turn Apache ON/OFF there. Otherwise use the links in the start menu Apache folder. (You can also be able to kill the httpd.exe process (ie. apache) via task manager)

If they these are automatically started when you turn on your computer, go to Start > Run > "msconfig" and disable the appropriate Service/Startup Program. You should never uninstall a program unless you want to get rid of it completely.

10:43 am on Oct 23, 2008 (gmt 0)

10+ Year Member

ag_47, I'll follow that up. Thanks.