Afficher un message
Vieux 12/09/2007, 22h24   #5
Anonymous
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Allowed memory size of 16777216 bytes exhausted

Good Man wrote:
> > It took me a little while to find the appropriate function to set
> > the value. So to others out, here's the function name and
> > use to others reading along.
> >
> > ini_set("memory_limit", "256M");
> >

>
> Interesting to see 'memory_limit' as a changeable setting via ini_set();
>
> So, if a webhost set the PHP memory limit to 24M, and I know they have 2GB
> on the machine, is it being suggested that I can override the limit set in
> php.ini with a simple ini_set directive? This seems to put quite a lot of
> 'power' into the hands of PHP scripters?


Of course it is possible to prevent the value from being changed. If
settings were set with php_admin_value or php_admin_flag they can not be
changed.

And any descent host should know this.

Bye!
  Réponse avec citation
 
Page generated in 0,04753 seconds with 9 queries