From: Doyce T. <sm...@av...> - 2004-01-17 20:59:58
|
Okay, I'm going to be particularly slow about this. If I were going to use this line: ini_set("max_execution_time",240); which my host assures me I have the clearance to set... where would I put it? I'm assuming in the index.php in my wiki directory, but where? Addendum to this. My host tells me that I can set these settings simply by including lines in my .htaccess directory, the format being: php_value (phpvalue)=(parameter) So, for example, to change the max_execution_time to 240, you would add the line: php_value max_execution_time=240 Except, when I add this to my .htaccess file, the whole site (not just the phpwiki, but the WHOLE site) switches to a 500 Internal Server Error. Anyone familiar enough with .htaccess to know what I'm doing wrong? Reini Urban wrote: > Joby Walker schrieb: > >> http://us2.php.net/manual/en/function.ini-set.php >> >> I have: >> >> max_execution_time = 300 >> max_input_time = 60 >> memory_limit = 16M >> >> The 300s max_execution_time is a bit high, but I have some other >> administrative webapplications that take a long time. > > > only for such pages I override it explicitly with > ini_set("max_execution_time",240); > > (download, upload and other similar stuff) > > for the normal pages it's a pain to wait longer than ~8 seconds on any > error. -- Doyce Testerman ~ sm...@av... ~ www.average-bear.com "Teenagers these days are out of control, they eat like pigs, they are disrespectful of adults, they interrupt and contradict their parents, and they terrorize their teachers" -Aristotle |