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

Where is apc.ini stored

where is apc.ini stored when using MAMP Pro? I tried to locate apc.ini through the terminal without success. I would like to increase the overall cache-size.
Gundon
  • 2,081
  • 6
  • 28
  • 46
1
vote
1 answer

when i submit a form, the .php file loads in the browser instead of running

I'm trying to teach myself PHP and following along with an excercise from a book.. When i submit the form, the .php file loads in the browser instead of running.. I am testing this locally on a mac I have mamp installed. I also have a database, and…
h0rhay
  • 131
  • 1
  • 5
  • 15
1
vote
1 answer

Mamp won't start apache

I'm having trouble running my Mamp. Out of the blue it the apache-part stopped working. I've had this kind of quirks before with MAMP and I would reinstall it. But now I've set it up with multiple virtual hosts, lots of databases I want to keep &…
Stijn_d
  • 1,078
  • 9
  • 20
1
vote
1 answer

server path for mamp local server

Im trying to setup the 140dev twitter api, and as part of the config i need to specify the server paths to certain files, they give the example of // Directory for db_config.php define('DB_CONFIG_DIR', '/var/www/html/140dev/db/'); and // External…
sam
  • 9,486
  • 36
  • 109
  • 160
1
vote
0 answers

How to stop redirecting url on MAMP?

I have been working with MAMP without any problem, but now I've finished my website, and my computer is still redirecting to my local files. I erased my site host, but still continues redirecting to MAMP. How I can delete this redirect? I've tried…
HcH
  • 11
  • 2
1
vote
0 answers

Python and PHP / MAMP

I recently got python working with MAMP in the terminal. The below script works in the terminal and prints what it should: #!/usr/bin/python import MySQLdb db = MySQLdb.connect (unix_socket = '/Applications/MAMP/tmp/mysql/mysql.sock', …
Alex
  • 542
  • 5
  • 24
1
vote
1 answer

MAMP running, PHP not

Calling a php file from a simple HTML form - e.g., - get php source code in browser as result (see below). Figured issue is that PHP is not running on localhost (using older version of MAMP). Checked, double-checked, and upgraded to latest MAMP…
CTSkater
  • 11
  • 1
1
vote
1 answer

PDO is not working with CakePHP installation

I am configuring a cakePHP application, but the app doesn't seems to connect successfully to DB, I got the following error: Cake is NOT able to connect to the database. Database connection "Mysql" is missing, or could not be created. I renamed the…
Malloc
  • 15,434
  • 34
  • 105
  • 192
1
vote
2 answers

Codeigniter send email on mamp

I am using codeigniter and its email class to try sending a email on MAMP (free version) My code is as below $config = Array( 'protocol' => 'smtp', 'smtp_host' => 'ssl://smtp.googlemail.com', 'smtp_port' => 465, …
kkh
  • 4,799
  • 13
  • 45
  • 73
1
vote
1 answer

Setup xdebug - doesn't appear on phpinfo();

MAC OS X 10.7.5 MAMP PRO 2.0.5 If I do: php --ini I get: Configuration File (php.ini) Path: /Applications/MAMP/bin/php/php5.3.6/conf Loaded Configuration File: /Applications/MAMP/bin/php/php5.3.6/conf/php.ini Scan for additional .ini files…
MEM
  • 30,529
  • 42
  • 121
  • 191
1
vote
1 answer

How many steps do I have to follow in order to update a pass for passbook

I made a pass already and I can share it to device by web service in MAMP or by app. Moreover, I also created a database 'passesdb'with 3 tables such as Devices, Registration and MemberPass. I also read passbook document of apple, but I don't really…
malinchhan
  • 767
  • 2
  • 8
  • 28
1
vote
1 answer

htaccess A quick move, from pagefor.local/USERNAME to pagefor/USERNAME.local

Morning all, I have spent Sunday attempting to rewrite a domain to no avail. I'm using MAMP and have changed my Hosts folder and MAMP httpd.conf with the following : Addition to hosts file: 127.0.0.1 apagefor.local Addition to httpd.conf…
HireLee
  • 561
  • 1
  • 9
  • 25
1
vote
1 answer

How to send mails from Magento?

I have installed Magento 1.7 on my mac. What should I do to send emails about orders from localhost. I'm developing store localy and just want to check how it works.
LaKaede
  • 195
  • 1
  • 1
  • 13
1
vote
2 answers

opening start page in mamp

Im having trouble getting into phpmyadmin in mamp, to do this i believe you have to go through the startpage, ive tried to go into the mamp program and click 'open start page' but that takes me to the htdocs folder, ive also tried going to -…
sam
  • 9,486
  • 36
  • 109
  • 160
1
vote
1 answer

Viewing MAMP Pro site on iPad

I've just started using the paid version of MAMP, MAMP Pro, and I'm having some trouble accessing my site via my iPad/iPhone. I've got my MAMP server set up with the default ports (80, 3306) and am trying to visit the site on my iPad via:…
realph
  • 4,481
  • 13
  • 49
  • 104