Page 1 of 1

php running stored procedure for large data

Posted: Sat Dec 18, 2010 3:54 pm
by uxian
Hello,

I have written a php code to execute a pl/pgsql stored procedure for large data but when is running after few minutes it get time out , i have increased the memory and time out in php.ini but still it get a time out .

Can you give suggestions on how can i run it without time out


Thanks

Re: php running stored procedure for large data

Posted: Sun Dec 19, 2010 11:01 am
by awebtech
Hi,

You can insert the set_time_limit call at the beginning of the script to change the default timeout. Pass zero as a parameter to disable the timeout completely.