PHP Classes

Execution time error

Recommend this page to a friend!

      PHP PDF to Text  >  PHP PDF to Text package blog  >  How Can PHP Read PDF ...  >  All threads  >  Execution time error  >  (Un) Subscribe thread alerts  
Subject:Execution time error
Date:2016-11-11 22:27:36

  1. Execution time error   Reply   Report abuse  
Hemanath - 2016-11-11 22:27:36
How can change execution time more than 30 seconds

  2. Re: Execution time error   Reply   Report abuse  
Christian Vigh - 2016-11-12 08:35:23 - In reply to message 1 from Hemanath
you have two ways to do that :

1) Change the max_execution_time setting of your php.ini file
(see Doing this way will affect all the scriptsrunning on your server
2) Call the set_time_limit() function from your script (see This will only affect the current script's max execution time.

In both cases, you will need to specify a maximum number of seconds. A value of zero means "no limit".

Note that you may not be able to change this setting if you are running in a shared host environment.