You are here: Re: Allowed memory size of 16777216 bytes exhausted « PHP Programming Language « IT news, forums, messages
Re: Allowed memory size of 16777216 bytes exhausted

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!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация