Since Apache is available for Windows and Linux, which OS are you running?
If Linux is your current OS, what distribution?
If you're running Redhat, a simple system command using service httpd stop
should be more than sufficient.
Unfortunately there are a lot of questions that must be answered before we can offer useful guidance.