PHP Question

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.


7 points

Bugged enough to post it here:
I have a large set of records and I want to increase execution time of PHP for processing these large number of records.



-1 points

For your php.ini file,

change the following line values:

max_execution_time 30

Anonymous's picture
Created by Anonymous
4 points

You can also try increasing the execution runtime by using the ini_set() function.

e.g.
ini_set('max_execution_time' '-1');

This would set the maximum execution time to infinity

Anonymous's picture
Created by Anonymous

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.