Web Hosting Talk







View Full Version : Script execution timeout in php.ini


tgo149
09-13-2004, 10:29 PM
My current setting is 30 seconds. A client would like me to change this to 900 seconds. Does anyone see a problem with this?

cywkevin
09-13-2004, 10:44 PM
Inactive sessions could be kept open way too long and bog down your server.

Burhan
09-14-2004, 03:40 AM
You can change it on a per-site basis, and not have it affect your entire server's php configuration.

900 seconds? You'd have to wonder what they were doing for that. Its a bit unusual.

sprintserve
09-14-2004, 04:13 AM
I suggest you audit his scripts before allowing it. 900 seconds if it is a busy site, with lots of hits, and an inefficient script can kill your server.

wheimeng
09-14-2004, 04:38 AM
That's 15 minutes, why do you need so long to run something? Read through the script, ensure it is not buggy as sprintserve stated.

EXOWorks
09-14-2004, 06:51 AM
That surely is going to overload your server ..

Well, anyways cant be done from php script itself??

ini_set( "max_execution_time", 900 );