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

Posted by Allodoxaphobia on 12/24/06 18:49

On Sun, 24 Dec 2006 17:41:36 -0000, peter wrote:
>> Are you _sure_ your updating the correct php.ini? (And, restarting
>> httpd after changes?) Many distros are 'helpful' by including "sample"
>> php.ini's in their PHP package.
>>
>> And, what does
>> |<?php phpinfo(); ?>
>> tell us?
>
> Yes I made sure I edited the php.ini file that was mentioned in the phpinfo
> output.
>
> When I do phpinfo() nothing is mentioned in the output for memory_limit as
> if it does not exist. The following is the output:-
>
> System Linux EDITED 2.6.10-HN-2.1-P4 #1 SMP Thu Feb 10 11:39:28 EST
> 2005 i686
> Build Date Aug 20 2006 02:13:50
> Configure Command './configure' '--prefix=/usr' '--with-xml'
> '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp'
> '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'
> '--with-xpm-dir=/usr/X11R6' '--with-imap=/usr/local/imap-2004g'
> '--with-mcrypt' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr'
> '--with-openssl' '--enable-discard-path' '--with-pdflib' '--with-pear'
> '--enable-sockets' '--enable-track-vars' '--with-ttf'
> '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning'
> '--with-zip' '--with-zlib'

<quote> [from TFM]

memory_limit integer

This sets the maximum amount of memory in bytes that a script is
allowed to allocate. This helps prevent poorly written scripts for
eating up all available memory on a server. In order to use this
directive you must have enabled it at compile time. So, your configure
line would have included: --enable-memory-limit.
</quote> ^^^^^^^^^^^^^^^^^^^^^

Do you suppose?

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http//jonz.net/ng.htm>

 

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

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