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
1
vote
1 answer

Magento on my MAMP server will sometimes not load anything

I installed Magento a 4 days ago on my MacBook. Everything that day worked with no problems. But today when I refresh a page sometimes not all the time the page returns blank. It gets even weirder when I check the headers return by the server I get…
jnbdz
  • 4,863
  • 9
  • 51
  • 93
1
vote
1 answer

How to set up DJANGO with MAMP (mysql)?

I've been trying to set up my Django project with MAMP for hours,, but still having problem understanding what's going on.. So what I've been doing is: -First, obviously I installed all the necessary packages (ex. mysql, mysql-python, etc) -I…
user2492270
  • 2,215
  • 6
  • 40
  • 56
1
vote
1 answer

SSI not working on MAMP 2.1.3 on OS X 10.8.3

I can't seem to get SSI workings on MAMP version 2.1.3 running on OS X 10.8.3 Running on Apache Port 80, PHP version 5.4.10. In my httpd.conf, I've already included the following settings. AddType text/html .shtml AddHandler server-parsed…
calebo
  • 3,312
  • 10
  • 44
  • 66
1
vote
2 answers

(Frapi API) How to get Frapi_Database::getInstance() without class or function(Outside MAMP and FRAPI Environment)?

I am setting up cron job in mac using crontab command. I am using MAMP PRO as a local server environment for FRAPI API. But I can not get Frapi_Database::getInstance() without using class or function in my simple PHP Script... Actually function…
Ponting
  • 2,248
  • 8
  • 33
  • 61
1
vote
1 answer

Problems displaying accented characters, works on other database

I have three database environments, MAMP, testing server, actual server. Testing server is just an old site that doesn't use its database. On both MAMP and testing server the accented letters I need to display are displaying fine(i.e. font not the…
Adam Brown
  • 2,812
  • 4
  • 28
  • 39
1
vote
2 answers

undefined class constant 'mysql_attr_init_command' in MAMP using php 5.4.4

I have seen the other SO questions dealing with the bug in php 5.3 and have php_pdo_mysql enable in the php.ini file located in MAMP/conf/php5.4.4. When I look at the phpInfo, under PDO it only has the sqlite driver enabled. If anyone has any…
D_________
  • 563
  • 5
  • 14
1
vote
2 answers

Execute shellscript from PHP (Localhost, Mac OSX)

I want to run a shell script from a php-based website on my localhost (using MAMP on Mac) but it does not work, unfortunately. Heres's the shell script: #!/bin/bash open /Users/my_username/Desktop/aiSee.app If I run it from the terminal, it works…
Oliver
  • 19
  • 5
1
vote
0 answers

Works on Mamp but not Wamp

I'm currently developing a web page that will pull data from my google drive spreadsheets and plot it onto the webpage. I've tested it on Mamp's localhost and everything worked fine. When I tried to run the same code to my Wamp server I kept getting…
Jaspreet Chauhan
  • 191
  • 4
  • 14
1
vote
2 answers

Update MAMP phpmyadmin 4.0.4

So phpMyAdmin 4.0.4 is out now it has the new cool jQuery style and the http://www.mamp.info/en/index.html only comes with the outdated phpMyAdmin 3.5.1. Is there way to update? I've tried for the last hour and there is not a lot of resources out…
The Shire
  • 13
  • 3
1
vote
1 answer

Reset MAMP Pro username and password to root/root

I don't have a clue how I managed to do it, but at some point over the past few days I've managed to change my MAMP Pro username and password to something other than root:root. I've been working locally on a Wordpress build so it must have been…
GuerillaRadio
  • 1,267
  • 5
  • 29
  • 59
1
vote
1 answer

Setting up virtual host with MAMP not working correctly

I am trying to create a virtual host using the instructions in this tutorial: http://www.youtube.com/watch?v=YoCDWyKoBFY I am able to set it up, but when I type in the url I have set up as my virtual host (example: thissite.dev), it doesn't lead to…
user1072337
  • 12,615
  • 37
  • 116
  • 195
1
vote
3 answers

PHP change url in browser

I am trying to implement a SEO friendly URL. I have a user detail page which has the url schema as such "$_SERVER["HTTP_HOST"]/[user-name]/[user-id]. I use the [user-id] to query user information in my database. However, if the [user-name] in the…
Jia-Luo
  • 3,023
  • 5
  • 16
  • 17
1
vote
1 answer

Installing Gearman on MAMP PRO and OSX

I'm trying to install Gearman on OSX (10.8.3) and MAMP PRO (2.1.1), but for some reason it's not picking up my gearman.so extension file and loading it - I can't see it in phpinfo(). I followed the steps that seem to have worked for…
dKen
  • 3,078
  • 1
  • 28
  • 37
1
vote
1 answer

Why would PHP with REST calls run properly when uploaded to a web server but not when using MAMP?

I have a fairly straightforward PHP application that is using a library to connect to a REST API and poll information. I was racking my brain trying to figure out why the calls were failing when I was testing it locally via MAMP. As a last ditch…
Frank Caron
  • 324
  • 2
  • 11
1
vote
1 answer

Trying to fix this error message "Invalid authentication method set in configuration: coookie" on the - phpMyAdmin page, when using MAMP?

I just restarted MAMP after months to start using it with Wordpress. Apache and MySQL Servers are both running fine (are green) and the start page launches fine. However the phpMyAdmin page is giving an error message: phpMyAdmin - Error Invalid…
sojourner
  • 117
  • 4
  • 12