<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MasterMind Blogger &#187; memory</title>
	<atom:link href="http://www.mastermindblogger.com/tag/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mastermindblogger.com</link>
	<description>Learn the Skills To Build A Profitable Blog</description>
	<lastBuildDate>Thu, 26 Jan 2012 15:37:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Solution for “500 Internal Server Error” After Installing Some Plugins</title>
		<link>http://www.mastermindblogger.com/2009/solution-for-500-internal-server-error-after-installing-some-plugins/</link>
		<comments>http://www.mastermindblogger.com/2009/solution-for-500-internal-server-error-after-installing-some-plugins/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 16:52:01 +0000</pubDate>
		<dc:creator>Salman Ahsan</dc:creator>
				<category><![CDATA[Wordpress Security]]></category>
		<category><![CDATA[500 internal server error]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[shared hosting]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[Solution for "500 Internal Server Error" After Installing Some Plugins]]></category>
		<category><![CDATA[Solution for 500 Internal Server Error]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[wp 2.7]]></category>

		<guid isPermaLink="false">http://www.mastermindblogger.com/?p=284</guid>
		<description><![CDATA[Problem: After updating the blog to WP 2.7 everything was running smooth. But when opening some of the plugin setting pages the server responded with a “500 Internal Server Error” – especially when using plugins like “XML Sitemap Generator for WordPress” or when uploading pictures. When I activated the “StatPress Reloaded”-plugin non of the admin [...]]]></description>
			<content:encoded><![CDATA[<p></p><div id="attachment_285" class="wp-caption aligncenter" style="width: 500px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;">
	<img class="size-full wp-image-285 " title="500-internal-server-error" src="http://www.mastermindblogger.com/wp-content/uploads/2009/12/500-internal-server-error.png" alt="500 Internal Server Error" width="500" height="78" />
	<p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">500 Internal Server Error</p>
</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 84px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Problem: After updating the blog to WP 2.7 everything was running smooth. But when opening some of the plugin setting pages the server responded with a “500 Internal Server Error” – especially when using plugins like “XML Sitemap Generator for WordPress” or when uploading pictures. When I activated the “StatPress Reloaded”-plugin non of the admin section was accessible anymore.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 84px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Diagnosis: PHP is running out of memory.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 84px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Solution: If you are running your own root, dedicated or virtual server this is an easy bugfix: You just have to change the php.ini of your server and provide more memory to your PHP installation. On a shared hosting server – like at the webhosting solutions at 1and1 you often don’t have access to that central php.ini. But there is an easy workaround:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 84px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Create a text file and name it “php.ini” (without the quotes  ) and with a single line of code in it:memory=20MB</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 84px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">This file has to be placed into the directory /wp-admin/ within your WordPress installation.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 84px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">That’s it!</div>
<p><strong>Problem</strong>: Recently, I was playing with a couple of plugins and unfortunately one of them crashed my server and thus displayed the 500 Server Error message.</p>
<p>I also discovered that plugins such as XML Sitemap Generator for WordPress, Some Database Backup Plugins and various other useless plugins are the main cause of this error.</p>
<p><strong>Diagnosis</strong>: Lack of PHP memory; in other words, PHP is running out of memory.</p>
<p><strong>Solution</strong>: You can easily fix this bug if you are running your own root or dedicated server. All you need to do is update your php.ini file and provide more memory to your PHP installation.</p>
<p>If you are on a shared hosting just like many of us, such as godaddy, hostgator, bluehost etc, you do not have control over the php.ini setting but there is another way around.</p>
<ul>
<li>Create a text file and name it “php.ini” (without the quotes)</li>
<li>Add a single line of code in it &#8220;memory=20MB&#8221; (without the quotes)</li>
<li>Save the php.ini to your directory /wp-admin/ within your WordPress installation.</li>
<li>It should look like /wp-admin/php.ini</li>
</ul>
<p>Bingo!</p>
<p>You should be able  to access your blog now. If you still cant then, go to your plugins folder through FTP and remove plugins like XML, database backup plugins and other suspicious plugins. Now login to your blog, go through all the plugins, activate the useful plugins and deactivate the unnecessary ones.</p>
<p>If you have deleted the XML plugin earlier then you can install it again and create your sitemaps with a click.</p>
<p>It is important that you know what you are dealing with. When i encountered the error, i was not happy. I thought i lost everything but of course there is always a way around. Make sure you know about the widget or plugins that you are dealing with. If you have several blogs then you can use one of them to test and experience with various plugins. In this way you will know what plugins to keep and use on your main blog.</p>
<p>Hope you find this post useful.  Bookmark and share for future reference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mastermindblogger.com/2009/solution-for-500-internal-server-error-after-installing-some-plugins/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

