execution time

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
yaron
Forum Contributor
Posts: 157
Joined: Fri Aug 22, 2003 8:40 am

execution time

Post by yaron »

Hello all,
I have this script that suppose to process a lot of data.
evrything is working fine but if the process is longer than 30 secs i get:
execution time of 30 seconds exceeded error!

How can i make the script to run longer (let's say 5 minutes)
Thanks
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

you change the following line in your php.ini

max_execution_time = 30 ; Maximum execution time of each script, in seconds

Mark
yaron
Forum Contributor
Posts: 157
Joined: Fri Aug 22, 2003 8:40 am

Post by yaron »

no need
got it
set_time_limit(int);
Thanks
Post Reply