How is Apache still working?

Posted by PJ on Server Fault See other posts from Server Fault or by PJ
Published on 2010-04-28T19:10:01Z Indexed on 2010/04/28 19:18 UTC
Read the original article Hit count: 413

Filed under:
|
|
|

Recently, I decided to set up a local development environment for my work projects. I'm a PHP developer, with just enough knowledge of Linux and Apache to break things mightily.

To get the local environment looking like my work environment, I had to upgrade PHP. When I did, Apache wouldn't restart. I decided I wanted to start fresh (this is where things went wrong) and that I'd reinstall Apache and PHP using MacPorts.

So, I went through and tried to delete all the Apache files. Yup.

I ran locate apache2 and deleted any folders that looked important. (I know, I know)

Then I did a /usr/libexec/locate.updatedb to make sure everything was up to date.

I even restarted my machine, just to make sure.

The issue is, http://localhost still works. As does an alias I set up, http://butler.

Shouldn't they not work? Now that I'm this far in, are there any tips for how to completely remove Apache so I can start over?

Worst case, I have a timemachine backup, so I can always just restore that... Thanks in advance.

© Server Fault or respective owner

Related posts about apache

Related posts about apache2