Install apache php mysql mac os x lion

For ease of development, I also configured some custom logs. Note : I use the extension local. This avoids conflicts with any real extensions and serves as a reminder I'm in my local environment. Note: You will need to create a new VirtualHost and edit your hosts file each time you make a new local site.

You may receive Forbidden when you visit your local site. This is likely a permissions issue. If you are not familiar with permissions, read more. For now though, the easiest thing to do is ensure your web directory has permissions of You can change permissions with the command:. Which by default is only readable by me.

macos - how do i install php on Mac OS X Lion? - Stack Overflow

Note : There are many ways to solve permission issues. I have provided this as the easiest solution, not the best. I won't go into the details. Read the installation guide for more information. I install utility applications in the default directory.

Enable PHP for Apache

Nano is quite user-friendly, IMO, and it's really annoying to try to edit something with root privileges from the GUI. If anything, you'll find it next to impossible to edit these files in TextEdit. Also, it is not unreasonable to expect some aquaintance with the console from any aspiring web developer. I agree that a GUI text editor is probably a better approach for people who are not programmers or who don't have much unix experience, however, TextEdit is the wrong application to advise using simply because it defaults to a variable-width font and rich text.

This can cause all sorts of problems beyond the simple usability nightmare of writing code in variable-width that will be extremely difficult or impossible for this person to debug.

Thomas Thomas 5 1 1 bronze badge. Answers on Ask Different need to be more than just a link. It's okay to include a link, but please summarize or excerpt it in the answer. The idea is to make the answer stand alone. My Most Embarrassing Mistakes as a Programmer so far.

The Overflow Newsletter 3 — The 75 lines of code that changed history. Featured on Meta. Feedback post: Moderator review and reinstatement processes.


  1. Setting Stuff Up.
  2. Using MAMP, you can quickly and easily install Apache, PHP and MySQL on your Mac.?
  3. roller coaster tycoon 3 no-cd patch mac.
  4. Unsupported browser.

Post for clarifications on the updated pronouns FAQ. Separate Linux tag from Unix.

How to Setup a Web Server in Mac OS X Mountain Lion

Embed What would you like to do? Embed Embed this gist in your website. Share Copy sharable link for this gist.


  1. Subscribe to RSS;
  2. annies white cheddar mac and cheese nutrition facts.
  3. La version courte.
  4. best blu ray copy software mac!
  5. dual boot win7 and mac os x lion on pc.

Learn more about clone URLs. Download ZIP. Mountain Lion Web Sharing. It seems there is less effort from Apple in continuing with the user level one but it still can be set up with a couple of extra tweaks. Once downloaded install the 3 components.

Subscribe to RSS

You may need to adjust the Security and Privacy System Pref to allow installs. Last thing to do here is to reload the shell for the above to work straight away. Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment.