How will you increase execution time of PHP for processing?

General discussions related to php

Moderators: macek, egami, gesf

User avatar
ifuturzcom
New php-forum User
New php-forum User
Posts: 7
Joined: Mon Mar 26, 2012 1:27 am
Contact:

How will you increase execution time of PHP for processing?

Postby ifuturzcom » Thu Jun 28, 2012 1:04 am

How will you increase execution time of PHP for processing large set of records?

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: How will you increase execution time of PHP for processi

Postby johnj » Thu Jun 28, 2012 2:06 am

place this at the top of your php code:

ini_set('max_execution_time', 300); where 300 is in seconds. Read more about init_set from php.net.


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 1 guest