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
18
votes
5 answers

Why does mysql connector break ("Lost connection to MySQL server during query" error)

When I run large queries (queries returning many rows), I get the Lost connection to MySQL server during query error, and I cannot see what I do wrong. I use the "new" mysql driver from mysql.com (not the "old" MySQLdb), and the mysql version that…
Eiriks
  • 479
  • 2
  • 11
  • 20
18
votes
12 answers

PHP files are downloaded by browser instead of processed by local dev server (MAMP)

Everything was going great until I added AddHandler application/x-httpd-php5s .php to the .htaccess file in my local server's document root (which I change frequently depending on the site I'm working with). Since I did that when I visit…
donut
  • 9,427
  • 5
  • 36
  • 53
18
votes
2 answers

Turn off Caching in MAMP

Trying to turn off caching in MAMP for development, waiting for cache to expire after making small changes is killing my productivity. (Problem started when I changed to PHP 5.5.3, changing back doesn't fix it) After researching I've taken the…
Philippe
  • 539
  • 1
  • 5
  • 21
18
votes
1 answer

Laravel Pass Parameter from Route to Filter

I am using the laravel framework. If I have the following route: Route::get('/test/{param}', array('before'=>'test_filter', 'SomeController@anyAction')); And this filter: Route::filter('test_filter', function() { $param = [Get the parameter…
735Tesla
  • 3,162
  • 4
  • 34
  • 57
18
votes
6 answers

php mail on MAMP

I need to test some script using PHP's mail. I'd like to be able to finally get this working locally. I am using MAMP. Is there a way to do this without installing any third party software? I've done some searching on this but haven't found anything…
Ori
  • 4,961
  • 10
  • 40
  • 39
18
votes
1 answer

Where is the source code for built-in PHP functions located?

I have a local server installed on my Mac (MAMP). Where can I find the PHP functions on my computer? What is the path to the functions folder? For instance, rand(), time(), isset(), explode(). I would like to see the code to learn from it.
Bona Chon
  • 955
  • 3
  • 9
  • 11
17
votes
6 answers

Mongodb and MAMP

I am using MAMP and would like to use mongo with PHP. I am stuck because the version of MAMP I'm using is the latest version I can find, and it's running PHP 5.2.11. The only Mongo PHP install I can find for OSX is for PHP 5.3. Is there any way…
Evan
  • 2,983
  • 8
  • 31
  • 35
16
votes
4 answers

Enable errors in browser when parsing PHP-files

I recently changed to a MacBook and now use the MAMP-stack for development locally. In my earlier development environment I always could see informative error-reports when I tried to access a PHP file through a web-browser and an error occurred.…
aksamit
  • 2,325
  • 8
  • 28
  • 40
16
votes
3 answers

Testing HTTPS files with MAMP

I am running MAMP locally on my laptop, and I like to test as much as I can locally. Unfortunately, since I work on e-commerce stuff (PHP), I normally force ssl in most of the checkout forms and it just fails on my laptop. Is there any easy…
jgreenawalt
  • 253
  • 1
  • 4
  • 8
16
votes
4 answers

How to install Image Magick for MAMP (Pro) on Mountain Lion (10.8.2)

I've been searching for a way to install Image Magick on my Mountain Lion setup (where I use MAMP Pro). I did find this article, but it isn't specific to ML. Also found a couple other similar questions here on SO but they were too specific I think.…
A Herrera
  • 612
  • 1
  • 5
  • 17
15
votes
6 answers

Resolved: MAMP Php can't exec ('convert') after Homebrew ImageMagick install

I installed Imagemagick using Homebrew on Lion, everything is fine except that it doesn't work at all when being called from php. Console: $ convert -version Version: ImageMagick 6.7.1-1 2011-07-29 Q16 http://www.imagemagick.org Copyright: Copyright…
firedev
  • 20,898
  • 20
  • 64
  • 94
15
votes
7 answers

MAMP phpMyAdmin is not active?

I've just installed the free version of MAMP and I can't access phpMyAdmin tool. phpMyAdmin is not clickable and it says needs PHP 5.5.x to 7.0.x as it can be seen from the screenshot; However, when I checked the installed PHP…
ricster
  • 521
  • 2
  • 5
  • 16
15
votes
14 answers

php xsl extension missing magento readiness check

I'm trying to install magento on my Windows 10 system with MAMP PRO, and I have been getting the same error over and over for a while now. The magento installer says that my php xsl extension is missing. To install the extension, the manual says…
Dennis
  • 151
  • 1
  • 1
  • 5
15
votes
6 answers

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

I'm running MAMP. It has been working fine up until yesterday. I haven't been able to find anything that helps so far. But here is my problem: As the title states I'm receiving the following error: error #2002 "Can't connect to local MySQL server…
Brandon Beeler
  • 150
  • 1
  • 1
  • 7
14
votes
0 answers

Upgrading to MYSQL 8 - MAMP

I have installed MAMP on my MAC machine and I am trying to upgrade it to use MySQL 8. However, I am not having any luck. I have tried following script but database migration fails. Also, sequelPro fails to connect to DB but, phpmyadmin has no issue…
shahmanthan9
  • 473
  • 1
  • 3
  • 14