can't set max_execution_time via ini_set

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
tralli10
Forum Newbie
Posts: 4
Joined: Mon Aug 23, 2010 4:59 am

can't set max_execution_time via ini_set

Post by tralli10 »

I'm trying it increase the max execution time of a script via ini_set
I tried ini_set('max_execution_time', 120) but the value doesn't get set, it still is set to 60 seconds, why is that?
I tried changing something else like display_errors and that worked. Could this be some permission issue?
Post Reply