<?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>Marslert Guy - A walking guy to the M@rs &#187; PHP</title>
	<atom:link href="http://marslert.com/blog/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://marslert.com/blog</link>
	<description>M@rsGuy</description>
	<lastBuildDate>Tue, 21 Jul 2009 17:41:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ALERT &#8211; configured POST variable limit exceeded</title>
		<link>http://marslert.com/blog/2009/07/21/alert-configured-post-variable-limit-exceeded/</link>
		<comments>http://marslert.com/blog/2009/07/21/alert-configured-post-variable-limit-exceeded/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:35:35 +0000</pubDate>
		<dc:creator>marslert</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[limit exceeded]]></category>
		<category><![CDATA[suhosin]]></category>
		<category><![CDATA[suhosin.post.max]]></category>
		<category><![CDATA[suhosin.request.max_vars]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=156</guid>
		<description><![CDATA[Recently, I met some unusual problem after some of hosting servers are using Suhosin. It is kinda good for PHP environment but it could cause problem without any proper configuration. For instance when you tailing /var/log/message : Jul 21 21:52:26 server suhosin[19015]: ALERT &#8211; configured POST variable limit exceeded &#8211; dropped variable &#8217;18_EditView&#8217; (attacker &#8217;123.123.123.123&#8242;, [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I met some unusual problem after some of hosting servers are using Suhosin. It is kinda good for PHP environment but it could cause problem without any proper configuration.</p>
<p>For instance when you tailing /var/log/message :</p>
<blockquote><p>Jul 21 21:52:26 server suhosin[19015]: ALERT &#8211; configured POST variable limit exceeded &#8211; dropped variable &#8217;18_EditView&#8217; (attacker &#8217;123.123.123.123&#8242;, file &#8216;/home/name/public_html/folder/index.php&#8217;)</p></blockquote>
<p>You could not find this error if tailing apache error log.</p>
<p>How to get rid it. You just need to increase Suhosin variables in root php.ini if you did not configure it after installing Suhosin. I would use below settings.</p>
<blockquote><p>[suhosin]<br />
suhosin.request.max_vars = 500<br />
suhosin.post.max_vars = 500</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/07/21/alert-configured-post-variable-limit-exceeded/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Allowed memory size of X bytes exhausted</title>
		<link>http://marslert.com/blog/2007/10/29/fatal-error-allowed-memory-size-of-x-bytes-exhausted-tried-to-allocate-y-bytes/</link>
		<comments>http://marslert.com/blog/2007/10/29/fatal-error-allowed-memory-size-of-x-bytes-exhausted-tried-to-allocate-y-bytes/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 19:48:12 +0000</pubDate>
		<dc:creator>marslert</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=33</guid>
		<description><![CDATA[Sample error, Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) Workaround Increase PHP&#8217;s memory limit, either by adding: memory_limit = 20M to your php.ini file (recommended, if you have access) ini_set(&#8216;memory_limit&#8217;, &#8217;20M&#8217;); in your sites settings php file php_value memory_limit 20M in your .htaccess file The memory can adjust [...]]]></description>
			<content:encoded><![CDATA[<p>Sample error,</p>
<blockquote><p>Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes)</p></blockquote>
<p>Workaround</p>
<blockquote><p>Increase PHP&#8217;s memory limit, either by adding:<br />
memory_limit = 20M to your php.ini file (recommended, if you have access)<br />
ini_set(&#8216;memory_limit&#8217;, &#8217;20M&#8217;); in your sites settings php file<br />
php_value memory_limit 20M in your .htaccess file</p></blockquote>
<p>The memory can adjust more than 20MB according to needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2007/10/29/fatal-error-allowed-memory-size-of-x-bytes-exhausted-tried-to-allocate-y-bytes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
