Now you have a quick bookmark to the web root. Then choose Go from the menu at the top, then Favorites and Add to Favorites You'll be dropping our Drupal files in the web root, so add a bookmark to that using Pathfinder. To test this, start Apache and go to in a browser. To start Apache, using the terminal type: You can put a web root in other places, but that makes configuration more complicated, so I've been leaving that alone. You may need to edit it to do things like increase memory. Set up php.ini, if it doesn't already exist, by copying : This is easy, it's already installed! To confirm that type the following to see where it is located:Īnd type the following to see what version is installed: To find that, click on the Launchpad icon in the dock, then choose Others and then Terminal. You need to use the terminal window for many of these steps. Without this tool I would either have to edit it in my terminal window using sudo, or keep changing the permission on the file before I edit and then change it back again afterward. If I say yes, the file is unlocked while I make my changes, then reset to its previous permissions. When I try to edit a protected file using Text Wrangler it asks if I want to unlock the file. The thing I especially like about that is that it makes it easy to edit protected files. The other handy app I depend on is Text Wrangler. Once installed, go to the View option in the menu bar at the top of the page, and check the option to view invisible files. The most important feature is that you can view invisible files with it. Pathfinder is a replacement for Mac's Finder that adds a number of nice improvements. To start with, I install a couple of apps that make all of this much easier to do. I thought I'd share the process I'm using now. Setting up a Mac without MAMP used to be sort of complicated, but it's been getting easier and easier with every version of Mac OS, and it's not that hard any more. That takes up space on my machine and occasionally causes trouble when some operation uses the wrong version of PHP because of confusion about which installation should take precedence. MAMP is easy to install, but it creates a duplicate version of PHP and a duplicate version of Apache. I used to use MAMP for this, but lately have been using the built-in functionality that comes on a Mac instead. I recently got a new Mac and needed to configure it as a local web server for the many Drupal sites I work on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |