How is Apache still working?
- by PJ
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.