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
22
votes
10 answers

Apache Server Won't Start in MAMP

Apache server won't start when in MAMP. Here are the error logs: [Wed Aug 01 21:07:34 2012] [notice] Digest: generating secret for digest authentication ... [Wed Aug 01 21:07:34 2012] [notice] Digest: done [Wed Aug 01 21:07:34 2012] [notice]…
user1114864
  • 1,734
  • 6
  • 26
  • 37
21
votes
4 answers

MAMP: How to upgrade PEAR

When trying to upgrade MAMP pear the following error is raised: Notice: unserialize(): Error at offset 276 of 1133 bytes in Config.php on line 1050 ERROR: The default config file is not a valid config file or is corrupted. Some suggestions how to…
udo
  • 4,832
  • 4
  • 54
  • 82
20
votes
8 answers

Wildcard Subdomains

I know there have been a few threads on this before, but I have tried absolutely everything suggested (that I could find) and nothing has worked for me thus far... With that in mind, here is what I'm trying to do: First, I want to allow users to…
beaudeal
  • 203
  • 1
  • 3
  • 7
20
votes
3 answers

How to install gmp extension for php 7.2 using MAMP on OSX

How to install gmp extension for php 7.2.1 using MAMP on OSX? I'm trying to encrypt a token with php and this library(lcobucci/jwt) using the Elliptic Curve Digital Signature Algorithm (ECDSA) with the P-256 curve and the SHA-256 hash algorithm.…
Lloyd Keijzer
  • 1,229
  • 1
  • 12
  • 22
20
votes
6 answers

Mcrypt PHP extension required on Mac OS X

I keep getting this error Mcrypt PHP extension required at the bottom after I run a composer update : Since I am using Mac, I have tried running : brew search mcrypt brew install php56-mcrypt I still get the same error message.
code-8
  • 54,650
  • 106
  • 352
  • 604
20
votes
15 answers

MySQL with MAMP does not work with OSX Yosemite 10.10

[EDIT] The last version of MAMP with the last version of OSX Yosemite works fine. I installed the beta of Yosemite two month ago, no problem with MAMP. With the last release of OSX, Apache and MySQL did not work. I found a solution for Apache by…
Florian Courtial
  • 930
  • 1
  • 11
  • 20
20
votes
4 answers

PHP Configure Error: Please specify the install prefix of iconv with --with-iconv=

I'm trying to configure PHP 5.5 on MAMP, following this post: Having problems while try to install OAUTH with PECL in MAMP on mac OS lion. After I move the downloaded PHP folders into MAMP/bin/php (I also tried to create a directory of…
omic
  • 351
  • 1
  • 2
  • 7
20
votes
8 answers

exporting mysql in mamp-not letting me save file as sql?

This is a weird thing I haven't seen as I'm usually working on a live server. On my MAMP, when I try and export the database, it just opens the file within phpmyadmin-like as a text document. I tried to copy the file to a text document with and…
Joel
  • 2,691
  • 7
  • 40
  • 72
19
votes
5 answers

MAMP - Upgrade to MySQL 5.6

Is it possible to upgrade the MAMP MySQL library to 5.6 ? Or I'll need to install MySQL natively (Lion) ? If someone could point me in the right direction... Thanks!
Sabourinov
  • 297
  • 1
  • 3
  • 12
19
votes
7 answers

Where does Sequel Pro / MAMP store local databases?

I had a few databases created on my computer via Sequel Pro & MAMP, and was running localhost to view them. However, I did a fresh install of Mac OS Lion, and I forgot to backup the databases to .sql files. I do backup my files regularly, and have…
Brian Weinreich
  • 7,692
  • 8
  • 35
  • 59
19
votes
4 answers

How do you increase the apache fastCGI timeout on MAMP / MAMP Pro?

Does anybody know how to increase the apache fastCGI timeout on MAMP / MAMP Pro? I've looked everywhere but can't seem to find it. Any help is appreciated as always. Thanks, Codarz360
Codarz360
  • 424
  • 1
  • 6
  • 16
19
votes
2 answers

Does Heroku support PHP?

I am looking for hosting for my website, which is built in PHP. In the past I have used GoDaddy (first few websites), but would like to use a more advanced hosting company. Does Heroku support a PHP website? There are a lot of answers about a…
Don P
  • 60,113
  • 114
  • 300
  • 432
18
votes
8 answers

How to add images to a wordpress theme when working on MAMP?

I am new to MAMP and I am developing a theme I designed. However I can't seem to get the images to render. I am using a clear theme I got from starkerstheme.com When adding an image directly to the code I used:
Sophie
  • 329
  • 2
  • 7
  • 19
18
votes
6 answers

PHPUnit: Warning: require(PHPUnit/Autoload.php): failed to open stream: No such file or directory in /usr/local/bin/phpunit on line 42

when running phpunit I get error Warning: require(PHPUnit/Autoload.php): failed to open stream: No such file or directory in /usr/local/bin/phpunit on line 42 Fatal error: require(): Failed opening required 'PHPUnit/Autoload.php'…
udo
  • 4,832
  • 4
  • 54
  • 82
18
votes
3 answers

wp-cli: unable to run phpunit on MAMP

I'm following the plugin test setup/install instructions. I got wp scaffold plugin-tests my-plugin to run. But then at the next step when I try to run bash bin/install-wp-tests.sh wordpress_test root '' localhost latest I get the following…
emersonthis
  • 32,822
  • 59
  • 210
  • 375