2015-09-16 43 views
3

在Wordpress中安裝插件時出現以下錯誤。如何避免在爲wordpress安裝插件時發生致命錯誤?

Fatal error: Maximum execution time of 30 seconds exeded in D:\xampp\htdocs\wordpress2\wp-includes\class-http.php on line 1513.

我在xampp的php.ini中修復了以下內容。

max_execution_time = 600 

max_input_time = 600 

memory_limit = 512M 

post_max_size = 21M 

但是錯誤仍然存​​在。請幫幫我。謝謝。

+0

'ini_set('max_execution_time',0);'http://php.net/manual/en/function.set-time-limit.php和http://php.net/manual/en/info。 configuration.php#ini.max-execution-time –

+0

您需要重新啓動Apache服務。 – GAMITG

回答

0

您可能需要重新啓動Web服務器才能使更新後的php.ini設置生效。您可以使用phpinfo()的輸出來檢查max_execution_time是否已更改爲新值,並檢查加載的.ini文件的位置。

+0

你是絕對正確的.phpinfo()中的max_execution_time = 30它沒有改變。我重新啓動了我的xampp服務器。但錯誤仍然存​​在。如何擺脫它? – sumish1985

+0

也許正在編輯的.ini文件未被加載。您是否檢查了phpinfo()輸出中加載的.ini文件的位置? – AidanCurran

相關問題