Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Go to File | Edit Template | PHP | 5.3.6 (your version may be different. It's the 5.3 that's the important part, not the last number):
Save and close the file after altering the values.
Go to File | Edit Template | MySQL my.cnf.
As shown in the preceding screenshot, raise the max_allowed_packet size to 32M, raise the net_buffer_length, read_buffer_size, and read_rnd_buffer_size each to 2048K. Save and close the file.
Using the red button at the top right of the MAMP window, stop and start the server's services.
Navigate again to http://dpk.local/info.php. Look for the memory_limit value on the page. It should be the same as the value you set in step 3, 256M.
The default settings for MySQL and PHP are a bit on the conservative side. We changed some of the defaults to allow Drupal some more memory to play in and gave MySQL some more cache for it to communicate with PHP more efficiently. We then restarted the server to see our settings take effect.