<?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>Kurinchi Blogger Scribbles ... &#187; set_time_limit</title>
	<atom:link href="http://kurinchilamp.kurinchilion.com/tag/set_time_limit/feed" rel="self" type="application/rss+xml" />
	<link>http://kurinchilamp.kurinchilion.com</link>
	<description>On Open Source Technologies</description>
	<lastBuildDate>Mon, 02 Jan 2012 06:14:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP: Fatal error: Maximum execution time of 30 seconds exceeded</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/05/php-fatal-error-maximum-execution-time-of-30-seconds-exceeded.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/05/php-fatal-error-maximum-execution-time-of-30-seconds-exceeded.html#comments</comments>
		<pubDate>Fri, 29 May 2009 01:58:12 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP error]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[set_time_limit]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=376</guid>
		<description><![CDATA[This error happens when the execution time of the PHP script exceeds the time limit for program execution in Php.ini file. By default the timer is set to 30 seconds in php.ini and you can track the time limit by tracing for &#8216;max_execution_time&#8217; directive in php.ini. A quick way to find the execution time set [...]]]></description>
			<content:encoded><![CDATA[<p>This error happens when the execution time of the PHP script exceeds the time limit for program execution in Php.ini file. </p>
<p>By default the timer is set to <strong>30 seconds</strong> in <strong>php.ini</strong> and you can track the time limit by tracing for &#8216;max_execution_time&#8217; directive in php.ini. </p>
<p>A quick way to find the execution time set for PHP is to check the <strong>phpinfo()</strong> function. </p>
<p><strong>Solution</strong>:<br />
You can set the time limit by issuing &#8220;<strong>set_time_limit(60);</strong>&#8221; statement to increase the time limit.</p>
<p>A better way would be trace where the bottlenecks are in the program to identify what causes the time lag. Possible causes may be </p>
<p>* Poorly structured queries<br />
* Never ending iterations<br />
* Read lock on files when they are opened by multiple sources etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/05/php-fatal-error-maximum-execution-time-of-30-seconds-exceeded.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

