Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources: 

MAMP server configuration

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    [♪ music ♪]
  • 0:12
    Hello there. In this video we have a local MAMP installation running.
  • 0:16
    So we have a MAMP web server, and we're going to be looking at how to get information about—
  • 0:23
    and tweak—the various components of the web server. So that would be Apache, MySQL, and PHP.
  • 0:28
    So, let's start off by going to MAMP, and we're going to take a look at the start page.
  • 0:34
    We've looked at some of the other things, but let's go to the start page here.
  • 0:37
    We've looked at this before. It has good information in it.
  • 0:40
    We also took a look at phpInfo and phyMyAdmin.
  • 0:44
    But I want to start off with the FAQ, because that gives you a quick list of the versions
  • 0:50
    of everything that you have.

MAMP Server Configuration


This video describes a number of the most important configuration files within MAMP that are commonly edited in order to run a web application like Drupal locally. There's a brief tour of the http.conf file, and then walks through the process of upping the max_allowed_packet limit from 1M to 2M within the my.cnf, which was a renamed copy of the my-large.cnf file. It's also a good idea to turn off binary logging on your local development by commenting out log-bin and binlog_format lines within this my.cnf file. Addi then shows you how to raise the PHP memory unit from 32M to 256 by opening the php.ini file and changing the memory_limit value. Finally, she shows you how to use MAMP's version of PHP and MySQL from the commandline by editing your .bash_profile and adding a number of paths to your default PATH. Note: The configuration files may have moved between versions of MAMP. You should check for where the MySQL cnf files are for your specific version of MAMP. A quick Google search can probably get you set in the right direction.

To learn how to install MAMP, see the Installing MAMP Server tutorial.

Additional resources: 

More information on Development Environments