Posted by Anonymous on 09/12/07 20:24
Good Man wrote:
> > It took me a little while to find the appropriate function to set
> > the value. So to help others out, here's the function name and
> > use to help 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!
[Back to original message]
|