Questions tagged [mamp]

The abbreviation "MAMP" stands for: Macintosh, Apache, MySQL and PHP. The OS X software application "MAMP" will quickly install the whole stack and provide a GUI for management.

The abbreviation "MAMP" stands for: Macintosh, Apache, MySQL and PHP.

MAMP installs a local web server environment suitable for running applications developed in the PHP programming language and using the MySQL database. The MAMP control panel includes the option to select between several supported versions of PHP.

The bundled PHP installations include:

  • common PHP extensions such as gd, jpeg, and XML support
  • the phpMyAdmin web interface for viewing and managing MySQL databases
  • precompiled PHP Accelerators such as APC, eAccelerator, and XCache

There are several versions of MAMP:

  • MAMP Stack by BitNami is a free, fully featured version for setting a local development environment. It includes a control panel and it has freely available modules for adding WordPress, Joomla!, Drupal and dozens of other applications. It is also available for free in the Mac OS X app store

  • MAMP is a free version primarily intended for setting up a personal web server or development environment. It includes a basic control panel for starting and stopping the Apache and MySQL servers, but more advanced configuration changes will require editing configuration files directly.

  • MAMP PRO is a commercial version of MAMP which includes additional administrative UI features such as the ability to enable/disable Apache modules and edit configuration files via the MAMP control panel.

Both MAMP versions are included in the same installer, however MAMP PRO is a trial version and will require a commercial license for continued usage. For a feature comparison, see: MAMP vs MAMP PRO.

MAMP is installed in the typical Mac fashion: very easily. MAMP will not compromise any existing Apache installation already running with your OS X. You can install Apache, PHP and MySQL without starting a script or having to change any configuration files!

Furthermore, if MAMP is no longer needed, it is sufficient to delete the MAMP folder and everything returns to its original state (i.e. MAMP does not modify any of the "normal" OS X files).

Additional Resources:

3098 questions
265
votes
37 answers

Laravel 5 – Remove Public from URL

I know this is a very popular question but I haven't been able to find a working solution for Laravel 5. I've been trying to migrate from Codeigniter for a long time, but this convoluted installation process keeps putting me off. I don't want to run…
user1537360
  • 4,385
  • 6
  • 23
  • 22
183
votes
13 answers

MAMP Pro 3.05 on Mavericks updated to Yosemite - Apache does not start

I have been running MAMP Pro 3.05 successfully in Yosemite up to DP4 on a partition that was a clean install of Yosemite. I now have run the installer for DP5 over my Mavericks install, and now that MAMP Pro install will not start Apache. It says…
Steve
  • 12,696
  • 26
  • 104
  • 191
146
votes
5 answers

How to prevent http file caching in Apache httpd (MAMP)

I am developing a single page Javascript application in MAMP. My JavaScript and HTML template files are getting cached between requests. Is there a simple way to indicate in MAMP that I want to prevent http file caching? Possibly with a .htaccess…
dmck
  • 7,561
  • 7
  • 41
  • 76
138
votes
9 answers

How can I add additional PHP versions to MAMP

The current version of MAMP that I have only has php 5.2.17 and 5.4.4. I need 5.3.X. Is there a way to add additional versions that can be selected in the MAMP interfaces php preferences? This is for the free version of MAMP, not MAMP PRO. Thanks
LiveSource
  • 5,834
  • 4
  • 18
  • 19
124
votes
9 answers

Stop caching for PHP 5.5.3 in MAMP

Installed MAMP on a new Macbook with PHP 5.5.3. Reload and refresh do nothing. Still nothing. Google around for a few minutes trying to find out what is wrong, come back and refresh. It works. What the heck? I went into php.ini and disabled all the…
Daron Spence
  • 1,473
  • 2
  • 14
  • 15
101
votes
2 answers

Apache not starting on MAMP Pro

Apache wont start and it throws an error: OR Apache couldn't be started. Please check the log file for more information. dyld: Symbol not found: _iconv Referenced from: /usr/lib/libmecabra.dylib Expected in:…
Toby Mellor
  • 7,498
  • 8
  • 31
  • 52
95
votes
6 answers

Does MySQL included with MAMP not include a config file?

I can't seem to find the my.cnf or other config file for the MySQL that comes with MAMP. Does it not include one?
Darryl Hein
  • 134,677
  • 87
  • 206
  • 257
92
votes
15 answers

Where does MAMP keep its php.ini?

I have recently got a mac an am not used to developing on a mac at all. I have MAMP Pro 1.9.6.1. I did a locate on php.ini and got this: $ locate…
James Vince
  • 1,099
  • 1
  • 8
  • 11
72
votes
10 answers

How to access localhost from a Genymotion android emulator?

I can not figure out how to access localhost from a Genymotion android emulator. By the way, Im using MAMP.
mownier
  • 1,549
  • 1
  • 11
  • 24
63
votes
9 answers

How to use MAMP's version of PHP instead of the default on OSX

I would like to use MAMP's version of PHP instead of the default installed on my mac. I tried using ln -s /Applications/MAMP/bin/php5.3/bin/php php but I get a "File exists" error. What's the best way to work around this so I can just type php…
Josh Fraser
  • 745
  • 1
  • 8
  • 10
62
votes
16 answers

Apache not starting in MAMP (but MySQL working) in OSX

I've had MAMP working for a few months and recently installed PostgreSQL. It recommended installing Apache as well, which I did to make sure PostgreSQL worked. I then uninstalled PostgreSQL and the apache build and tried to restart MAMP. It fired…
Djave
  • 6,772
  • 5
  • 54
  • 98
58
votes
13 answers

How to override the path of PHP to use the MAMP path?

After screwing up entirely my PHP configuration on MAC trying to get the SOAP module working (-bash: /usr/bin/php: No such file or directory ....) I now have to use MAMP but each time I have to type the path Applications/MAMP/bin/php5.3/bin/php to…
sf_tristanb
  • 8,267
  • 16
  • 67
  • 114
54
votes
5 answers

How to get htaccess to work on MAMP

I am trying to get the .htaccess working in MAMP. The content of the .htaccess is a simple redirect line but it does not work. I am trying to manipulate URLs of a WordPress page, so I added the .htaccess file in my theme folder, but it is not…
aurel
  • 2,972
  • 8
  • 39
  • 52
50
votes
10 answers

Why MAMP doesn't display errors?

OK this is getting very frustrating. MAMP used to display errors but then stopped. I decided to do a fresh install of it as I couldn't figure it out. I check my PHP version, running 5.4.4 and go to that folder and change the php.ini to…
Alex McCabe
  • 1,676
  • 2
  • 19
  • 28
45
votes
27 answers

MAMP mysql server won't start. No mysql processes are running

My MAMP mysql server won't start. All of the suggestions I've seen on the web say to check for other mysqld processes running and kill them if they exist, and that it should fix the problem, but it has not for me. Here's the error log: 130415…
jordancooperman
  • 1,555
  • 2
  • 17
  • 30
1
2 3
99 100