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
28
votes
7 answers

Setting Environment Variables in MAMP?

I assume that MAMP environment variables can be set in ~/.bash_profile, but it seems that setting them there does not always take effect right away. For instance, I just set a variable in my .bash_profile and have tried restarting MAMP servers,…
jhnnycrvr
  • 767
  • 2
  • 7
  • 13
27
votes
5 answers

Self-signed SSL certificates not working with MAMP and Chrome

SSL certificates created by MAMP are not working in Chrome. I'm getting a "Not secure" issue. Is there a workaround for this?
codewithfeeling
  • 6,236
  • 6
  • 41
  • 53
27
votes
4 answers

Having problems while try to install OAUTH with PECL in MAMP on mac OS lion

i am new to setting php servers, and i had go though other related post, seems like nobody have the same error as i have. I am using MAMP 2.0.2, and running PHP 5.3.6, and I was trying to install oAuth on my local MAMP, using following commands: $…
David Chen
  • 271
  • 1
  • 3
  • 5
25
votes
4 answers

Change openssl version in MAMP

openssl 0.9.8 doesn't work with tls 1.2: user@computer: /usr/bin/openssl version OpenSSL 0.9.8zg 14 July 2015 user@computer: /usr/bin/openssl s_client -connect somesite.com:8443 CONNECTED(00000003) write:errno=54 But openssl 1.0.2 are working with…
MichaelPak
  • 584
  • 1
  • 5
  • 16
25
votes
10 answers

PDOException: SQLSTATE[HY000] [2002] No such file or directory

I have put PushChatServer dir in htdocs folder and create database puschat try to run @"http://localhost/PushChatServer/api/test/database.php" Then I got following exception. I want do same thing to explain this link…
user4276168
25
votes
8 answers

PHP Warning: mysqli_connect(): (HY000/2002): Connection refused

I am using PHP 5.5 and MAMP (downloaded from here): I have a basic script like this:
johncorser
  • 9,262
  • 17
  • 57
  • 102
25
votes
5 answers

What needs to go in order to fully remove a MAMP install from OSX?

For reasons that we won't discuss, I have determined that MAMP is a pile of crap that haunts my system, and unless I remove it fully, I will live in shame. I've done the obvious thing and removed the MAMP directory from my Applications folder,…
Pete Karl II
  • 4,060
  • 3
  • 21
  • 27
25
votes
11 answers

How start & stop MAMP PRO using command line?

I am trying to find a way by which I can start and stop MAMP PRO's Apache and mysql using command line. So far whatever I have search has only helped me start MAMP PRO. Thanks.
Jenil Gogari
  • 392
  • 1
  • 4
  • 8
24
votes
6 answers

XAMPP or MAMP on Mac OS X 10.6.2 (Snow Leopard)

I just bought a new MacBook Pro which comes with Snow Leopard 10.6.2 (Mac OS X 10.6.2). I am used to using XAMPP as my local development server on XP. Since Mac OS X is based on Unix, I was thinking on activating/installing all the necessary stuff…
Steve
  • 243
  • 1
  • 2
  • 4
23
votes
4 answers

Case-inconsistency of PHP file paths on Mac / MAMP?

I'm developing a PHP program on MAMP, and just realized the following screwy behavior: echo "
PATH = ".dirname(__FILE__); include 'include.php'; include.php: PATH = ".dirname(__FILE__); ?> Result: PATH =…
Yarin
  • 173,523
  • 149
  • 402
  • 512
23
votes
2 answers

Settings up xdebug on MAMP PRO

I am trying to set up xdebug on mamp pro with no success. I searched all over the internet, nothing helped me. First I have tried just to uncomment the following line in…
AdamGold
  • 4,941
  • 4
  • 29
  • 47
22
votes
3 answers

Install PEAR on MAMP

I am using MAMP for development. I have never been able to get PEAR to work. The MAMP documentation and forums seem not to have the answers. Everybody who asked on the MAMP forum seems to have no replies. Previously I have developed the systems on…
Colin Martin
  • 469
  • 2
  • 4
  • 7
22
votes
7 answers

Mysql server on MAMP won't start

My Mysql server on MAMP won't start. This is the error: 161224 00:15:00 mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error_log.err'. 161224 00:15:00 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql56 …
Inas
  • 223
  • 1
  • 2
  • 5
22
votes
2 answers

Path to php executable on a mac with vscode and mamp

vscode requires path to php set for this parameter: "php.validate.executablePath": so I specified this: "/Applications/MAMP/bin/php/php7.0.12/bin/php" but it isn't recognized. What is the correct path ?
Robert Brax
  • 6,508
  • 12
  • 40
  • 69
22
votes
8 answers

Stop password prompt on MAMP startup

I develop using MAMP pro on my Mac. When I start MAMP it prompts me for a password if I use port 80. If I use a higher port it doesn't prompt me, but I have to append the port number in the URL ( eg dev.local:8888 ). Does anyone know how to make it…
Chris J Allen
  • 18,970
  • 20
  • 76
  • 114