Article ID: 209, created on Jan 6, 2014, last review on Apr 30, 2014

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 11.5 for Windows

解决方案

您看到如下的错误:

Fatal error:Maximum execution time of 30 seconds exceeded in /usr/local/psa/home/vhosts/my.domain.com/httpdocs/admin/backup.php on line 99

要解决此问题,请增加 php.ini 文件中的 max_execution_time 值。

以 root 身份登录到服务器并找到 PHP 配置文件,php.ini;其名为 /etc/php.ini, /etc/php5/cgi/php.ini,或使用其它名称。修改 max_execution_time 值,例如:

max_execution_time = 30

然后重启 Apache 服务器:

~# /etc/init.d/httpd restart

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 ed7be2b984f9c27de1d2dc349dc19c6d 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f 46a8e394d6fa13134808921036a34da8 bd7fc88cf1b01f097749ae6f87272128

Email subscription for changes to this article