<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://pedroposada.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Pedro Posada&#039;s Blog</title>
 <link>http://pedroposada.com/category/blog/phperrors</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Memory limit error on MAMP</title>
 <link>http://pedroposada.com/blog/memory-limit-error-mamp.html</link>
 <description>&lt;p&gt;I am developing drupal sites locally on my MacBook using &lt;a href=&quot;http://www.mamp.info/&quot;&gt;MAMP&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I was getting a lot of memory limit errors.&lt;/p&gt;
&lt;p&gt;I modified the php.ini file and also the settings.php fiel in drupal. None of them solved my problems.&lt;/p&gt;
&lt;p&gt;I inserted this line in my .htaccess file inside the drupal folder:&lt;/p&gt;
&lt;pre&gt;
php_value memory_limit&amp;nbsp; &amp;quot;100M&amp;quot;
&lt;/pre&gt;&lt;p&gt;That line goes right after&lt;/p&gt;
&lt;pre&gt;
# PHP 5, Apache 1 and 2.
&amp;lt;IfModule mod_php5.c&amp;gt;
&lt;/pre&gt;&lt;p&gt;This solved my problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description>
 <comments>http://pedroposada.com/blog/memory-limit-error-mamp.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/.htaccess">.htaccess</category>
 <category domain="http://pedroposada.com/category/blog/phperrors">php errors</category>
 <pubDate>Sun, 22 Mar 2009 22:06:43 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">56 at http://pedroposada.com</guid>
</item>
</channel>
</rss>
