php running stored procedure for large data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
uxian
Forum Newbie
Posts: 1
Joined: Sat Dec 18, 2010 3:49 pm

php running stored procedure for large data

Post 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
User avatar
awebtech
Forum Newbie
Posts: 21
Joined: Sun Nov 07, 2010 4:54 pm
Location: Russian Federation

Re: php running stored procedure for large data

Post 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.
Post Reply