PDA

View Full Version : Fatal error: Maximum execution time of 30 seconds exceeded in...


mikehawk
06-09-2005, 06:25 AM
Fatal error: Maximum execution time of 30 seconds exceeded in functions.php on line 1620

How do I increase the execution time? I want to publish lengthy books in a thread and whenever the book is a certain length, it screws me over with the 30 second limit.

Andreas
06-09-2005, 08:59 AM
php.ini, setting max_execution_time

DieselMinded
07-02-2007, 09:40 PM
Hows that???

Eikinskjaldi
07-03-2007, 01:43 AM
If you are on a shared server then the answer is you cannot do anything.

If you are on a vps or dedicated server AND have root access privileges to your system, then you need to edit php.ini and change

max_execution_time = 30

to

max_exectution_time = something bigger

First, of course, you have to find php.ini, whcih will entirely depend on your system

some places it might be are
/usr/local/lib
/usr/local/Zend/etc
/usr/lib

You will need to restart apache after making the change.