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:

3215 questions
14
votes
2 answers

Getting WordPress permalinks working on a MAMP install

I've got a local MAMP install of WordPress and am trying to get permalinks working. But when I click my links after setting permalink setting to 'Day and name' http://localhost/wordpress_1/2011/01/12/sample-post/ I get 404ed Not Found: The…
Yarin
  • 173,523
  • 149
  • 402
  • 512
14
votes
4 answers

HTTP2 support in MAMP Pro

Is there any way to enable HTTP2 support in MAMP Pro? I want to test and improve some of my local development websites with HTTP2 support. I've been searching for a while now, but haven't found a single solution.
Marco Peters
  • 143
  • 1
  • 6
14
votes
6 answers

Is there an free alternative to MAMP PRO?

NetBeans is recommending to use MAMP for Apache + MySQL + PHP on the Mac. There's a MAMP and a MAMP PRO. The MAMP is actually nothing more than a collection of open source libraries and stuff like PHP, MySQL, etc. in one big directory that goes to…
openfrog
  • 40,201
  • 65
  • 225
  • 373
14
votes
2 answers

Why is my PHP file using MAMP not refreshing?

I have a pretty standard PHP file that I use with MAMP to replicate apache on my local machine. But for some reason when I make a change to the php file, the changes are not reflected even when I hard refresh in Chrome (multiple times.) Even simple…
Joe Isaacson
  • 4,012
  • 6
  • 30
  • 40
13
votes
2 answers

Install/activate PHP "intl" extension running MAMP

Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro. The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" doesn't seem to do it), but can't make it work. I've…
Manne W
  • 1,459
  • 4
  • 17
  • 31
13
votes
3 answers

How to get Webpack, Wordpress, and BrowserSync to work together?

I've been at it for about a week now and I haven't been able to get the three to work together. I'll be eternally grateful if anyone can help me with this, I've wasted so many hours. The issue: If I proxy myserver.dev hot reloading 404s. Changing…
user3591425
13
votes
2 answers

CLI MAMP PHP running slowly compared to OS X PHP

Ive just started to encounter a problem with MAMP PHP running extremely slowly. Ive reinstalled MAMP and still having issues. As a comparison (I thought maybe my local development OS X machine may have been having issues) i tried the following in…
GWed
  • 15,167
  • 5
  • 62
  • 99
13
votes
8 answers

Yosemite - MAMP - Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' (2)

I have problem when I try to connect to MySQL MAMP : ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' (2) I'm doing research but I have not found a solution to my problem, I try to…
Matyas
  • 133
  • 1
  • 1
  • 9
13
votes
12 answers

Mamp localhost resolving very slowly

When I make local changes to my PHP / WordPress website, the localhost does not seem to update for 20-30 minutes. I'm on Mac OSX 10.8.4 and using MAMP Pro. I have two sites that I have created separate host entries for, let's call them mysite1.dev…
user2733720
  • 131
  • 1
  • 1
  • 3
13
votes
5 answers

MYSQL: How to make NULL or empty data default to 0 during insert

So this seems like it would be pretty straight forward and I swear I've done this before, but for some reason it's just not working for me. I am using MAMP and have a table with about 200 columns and I want about 20 of them to default to 0 if NULL…
bigmike7801
  • 3,908
  • 9
  • 49
  • 77
13
votes
5 answers

Freak MySql error with MAMP

I setup MAMP Pro. Before that i setup and deleted MAMP and XAMPP. I maniacally deleted all the files of the former two. Since then Apache is not running on Mamp default port 8888 and - MySql is just not running whatsoever. One line says "check if…
Asis
  • 131
  • 1
  • 1
  • 6
12
votes
6 answers

I can't access phpmyadmin with mamp

I have MAMP installed on my Mac Book Pro OS 10.6.8. The open start page on my MAMP is grayed out now. The Apache server button is green. The MySQL server button is red. At one time I could access phpmyadmin. I have my php files in htdocs folder of…
swydell
  • 1,962
  • 8
  • 31
  • 44
12
votes
4 answers

iconv_strlen function causing execution timeout, running on MAMP

Has anyone had issues with the iconv_strlen function while running MAMP?
blacktie24
  • 4,985
  • 6
  • 41
  • 52
12
votes
3 answers

MAMP PRO doesn't allow me to change PHP version over hosts

I don't know why but for some reason my MAMP PRO doesn't allow me to change PHP version over host. I'm using MAMP PRO 4. If you take a look you will notice the option for that is disabled, I left here a screenshot, MAMP PRO configuration Any…
Sebastian
  • 481
  • 4
  • 9
12
votes
2 answers

Content Security Policy directive: "script-src 'none' Violation Error

I have just installed MAMP and created 2 files in the htdocs folder: index.html Test Page script.js console.log("works"); MAMP is configured to the following…
feetnappy
  • 513
  • 1
  • 4
  • 10