What is the easiest way to have a local LAMP installation for web development on mac OS X?

被刻印的时光 ゝ 提交于 2019-12-02 09:37:25

Question : What means LAMP ?

Answer : Linux Apache MySQL PHP

Q: and if this was running on a Mac ?

A : try MAMP

XAMPP is also an excellent choice

OS X comes with php and apache installed already. It doesn't have mysql installed by default, but you can easily download the Mac OS X version from the mysql website in either the tarball version or a package version.

Mac OS X is -- essentially -- Linux.

Mac OS X already contains Apache. Turn on file sharing and you'll turn on Apache.

You'll need to download and install MySQL for Mac OS X. http://dev.mysql.com/downloads/mysql/5.1.html

You'll need to edit the httpd.conf to enable mod_apache.

Five years later, i believe this question and existing answers still reading by some newcomers.

Personally, i strongly recommend using Homebrew to have a perfect development environment on mac os x. Not only PHP, homebrew opens wide all the doors to the open source toolkit/library/application heaven.

Here is my another answer related with this subject.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!