<?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>Eric&#039;s Who Know &#187; WordPress</title> <atom:link href="http://who-know.com/category/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://who-know.com</link> <description>C&#039;est La Vie</description> <lastBuildDate>Mon, 17 May 2010 22:21:05 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Fatal error: Maximum execution time of 30 seconds exceeded</title><link>http://who-know.com/fatal-error-maximum-execution-time-of-30-seconds-exceeded/</link> <comments>http://who-know.com/fatal-error-maximum-execution-time-of-30-seconds-exceeded/#comments</comments> <pubDate>Thu, 18 Feb 2010 22:35:55 +0000</pubDate> <dc:creator>Eric</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[.htaccess]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[php.ini]]></category> <category><![CDATA[SuPHP]]></category> <category><![CDATA[wp-config]]></category><guid isPermaLink="false">http://who-know.com/fatal-error-maximum-execution-time-of-30-seconds-exceeded/</guid> <description><![CDATA[WordPress 出現 Fatal error: Maximum execution time of 30 seconds exceeded 是因為主機對程式的執行時間作了限制，解決方法如下 :
// 擇一使用即可，依不可行性排序
01. 自己的主機 or 虛擬主機且可以修改 php.ini
a. 修改 php.ini 裡 max_execution_time 的數值，重新啟動 Server
b. .htaccess 加上 php_value max_input_time 300
c. wp-config.php 加上 set_time_limit( 300 );
02. 虛擬主機 : 不可以修改 php.ini
a. .htaccess 加上 php_value max_execution_time 300
b. wp-config.php 加上 set_time_limit( 300 );
// 如果主機有安裝 suPHP
.htaccess  file 的 php_value [...]]]></description> <content:encoded><![CDATA[<p><a href="http://wordpress.org/" target="_blank">WordPress</a> 出現 Fatal error: Maximum execution time of 30 seconds exceeded 是因為主機對程式的執行時間作了限制，解決方法如下 :</p><p>// 擇一使用即可，依不可行性排序</p><p>01. 自己的主機 or 虛擬主機且可以修改 php.ini</p><p>a. 修改 php.ini 裡 max_execution_time 的數值，重新啟動 Server<br /> b. .htaccess 加上 php_value max_input_time 300<br /> c. wp-config.php 加上 set_time_limit( 300 );</p><p>02. 虛擬主機 : 不可以修改 php.ini</p><p>a. .htaccess 加上 php_value max_execution_time 300<br /> b. wp-config.php 加上 set_time_limit( 300 );</p><p>// 如果主機有安裝 <a href="http://www.suphp.org/" target="_blank">suPHP</a><br /> <span style="color: #ff0080">.htaccess  file 的 php_value max_execution_time 300 改成 max_execution_time = 300</span></p><p>Ref :<br /> 01. <a href="http://www.php.net/manual/en/info.configuration.php" target="_blank">PHP Runtime Configuration</a><br /> 02. <a href="http://php.net/manual/en/function.set-time-limit.php" target="_blank">PHP set_time_limit ( int $seconds )</a></p> ]]></content:encoded> <wfw:commentRss>http://who-know.com/fatal-error-maximum-execution-time-of-30-seconds-exceeded/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>