|
Home > Archive > Apache Server configuration support > September 2007 > max_execution_time & safe mode
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
max_execution_time & safe mode
|
|
| Bill Brother 2007-09-23, 7:34 am |
| Bonjour,
je souhaiterais modifier le temps d'execution max pour un groupe de fichiers
se trouvant dans un repertoire specifique.
Je sais qu'il est impossible de modifier la valeur de max_execution_time
dans le fichierphp en safe mode ( ini_set('max_execution_time','-1')
interdit), mais y a t il moyen de fixer une valeur de max_execution_time
pour tous les fichiers d'un repertoire en configurant le fichier php.ini ?
merci de votre aide
| |
| patpro ~ patrick proniewski 2007-09-23, 7:34 am |
| In article <46f62ec9$0$19289$426a74cc@news.free.fr>,
"Bill Brother" <bill@iname.com> wrote:
> Bonjour,
>
> je souhaiterais modifier le temps d'execution max pour un groupe de fichiers
> se trouvant dans un repertoire specifique.
>
> Je sais qu'il est impossible de modifier la valeur de max_execution_time
> dans le fichierphp en safe mode ( ini_set('max_execution_time','-1')
> interdit), mais y a t il moyen de fixer une valeur de max_execution_time
> pour tous les fichiers d'un repertoire en configurant le fichier php.ini ?
you can either use a .htaccess file or change your main httpd.conf or
virtualhost config, setting a php_value directive:
php_value max_execution_time 90
patpro
--
http://www.patpro.net/
| |
| Bill Brother 2007-09-23, 7:34 am |
| Thanks patpro
how do you write this directive in virtualhost config for just a
subdirectory ( not the entire virtual host directoy ) ?
"patpro ~ patrick proniewski" <patpro@boleskine.patpro.net> a écrit dans le
message de news: patpro-F99E10.11280923092007@news-1.proxad.net...
> In article <46f62ec9$0$19289$426a74cc@news.free.fr>,
> "Bill Brother" <bill@iname.com> wrote:
>
>
> you can either use a .htaccess file or change your main httpd.conf or
> virtualhost config, setting a php_value directive:
>
> php_value max_execution_time 90
>
> patpro
>
> --
> http://www.patpro.net/
| |
| patpro ~ patrick proniewski 2007-09-23, 7:34 am |
| In article <46f6329f$0$21559$426a74cc@news.free.fr>,
"Bill Brother" <bill@iname.com> wrote:
> Thanks patpro
>
> how do you write this directive in virtualhost config for just a
> subdirectory ( not the entire virtual host directoy ) ?
what about the good old Directory directive?
<http://httpd.apache.org/docs/2.2/mo....html#directory>
patpro
--
http://www.patpro.net/
|
|
|
|
|