You are here: Re: php memory_limit config problem « All PHP « IT news, forums, messages
Re: php memory_limit config problem

Posted by IchBin on 12/24/06 20:23

Stef wrote:
> I don't want to sound like schoolteacher or something, but I suppose you did
> check:
>
> * the line is not commented out
> * there is no duplicate of the below the one you checking
>
> Are you running this on a server you own or on an account on a server?
>
>
> "peter" <submit@flexiwebhost.com> schreef in bericht
> news:emmc0j$n6$1@aioe.org...
>>> You could try to push it up further, but I'd try to fiddle with the
>>> execution time and stuff.
>>>
>>> Mine is configured like this
>>>
>>> max_execution_time = 300
>>> max_input_time = 60
>>> memory_limit = 32M
>>>
>> There is no problem running scripts etc my problem is the fact that php
>> does not think it is set at all when in the php.ini file it is set to 8M
>>
>
>
For what it is worth.. I know I am running the correct php.ini. I also
am not sure what is going on

My environment:
PHP Version 5.2.1-dev
Windows XP SP 2
PHP Environment Security Info Version 0.1.2 build 20061218

My PHP.ini values:
memory_limit=16M
max_input_time=60
max_execution_time = 60

When I look at the phpinfo() output I do not see 'memory_limit'. I do
see 'max_input_time' and 'max_execution_time'.

When I run the phpsecinfo() I get the same Core::memory warning:

"Warning memory_limit does not appear to be enabled. This leaves the
server vulnerable to attacks that attempt to exhaust resources and
creates an environment where poor programming practices can propagate
unchecked. This must be enabled at compile time by including the
parameter "--enable-memory-limit" in the configure line. Once enabled
"memory_limit" may be set in php.ini to define the maximum amount of
memory a script is allowed to allocate."

--
Thanks in Advance... http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)

 

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

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