Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

How will you increase execution time of PHP for processing?

General discussions related to php

Moderators: macek, egami, gesf

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?
User avatar
ifuturzcom
New php-forum User
New php-forum User
 
Posts: 7
Joined: Mon Mar 26, 2012 1:27 am

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.
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm


Return to PHP General

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron