osx - Making MAMP the default web server on a Mac OS
2013-08
I'd like to configure MAMP for web sharing on this Mac OS 10.6.6. I have installed MAMP, now I'd like to have the files in my user Sites
to make MAMP point to that directory and access these sites from that web server. How can I do this?
I will as a next step want to access the Sites folder from the web. Can I do this?
In MAMP preferences, you can point the Apache server to the directory you want to store your files in: http://documentation.mamp.info/en/mamp/preferences/apache
If you set the Document Root in MAMP to ~/Sites and you have your site in there in a folder called 'mysite' you can access it through a browser via http://localhost:8888/mysite
. If you have different projects in there, say 'mysecondproject' or 'anotherproject' you can access them through http://localhost:8888/mysecondproject
and http://localhost:8888/anotherproject
.
Maybe you will have to change the site URL in the config files or the database of your web application so to make the site work.
I installed MAMP a while ago and didn't enjoy it very much, so I uninstalled it (moved from Applications to Trash). Today I discovered that there are still MAMP files on my machine, but I can't seem to do anything about them.
Here's what's happening. If I do locate MAMP
in Terminal, I get a long list of files like this:
- /Applications/MAMP
- /Applications/MAMP/Icon
- /Applications/MAMP/LEAME.rtf
- /Applications/MAMP/LIESMICH.rtf
- /Applications/MAMP/LISEZ-MOI.rtf
- /Applications/MAMP/Library
So, naturally, I go to my Applications folder to remove the files, but MAMP is nowhere to be found.
Furthermore, terminal-ing to the Applications folder (cd ~/../../Applications
) and trying to delete it (rm MAMP
) leads to a 'no such file' message.
What's going on?
Locate is not a real time search. It runs periodically to update a database of all file locations. What's probably happening is your locate database is outdated.
Applications create helper files to assist in running the application and storing data.You might also want to check ~/Library
and /Library
for other files.
When I delete applications I use AppZapper. It searches for other files and gives you the option to remove those as well as the core application.