[Typo3] changing the 'memory_limit' to 16 with ini_set()
Tobias Erlacher
erl at maguma.com
Wed Aug 24 16:37:12 CEST 2005
Hi
better than using ini_set is using the typo3 internal setting for the
memory limit:
$TYPO3_CONF_VARS['SYS']['setMemoryLimit'] = 25;
by setting this in your localconf.php typo3 will try to use ini_set to
set the memory limit to 25 MB
have fun
tobias erlacher
www.typo3wizard.com
Pawel Stanislawczuk wrote:
> ini_set(memory_limit, '25M'); thing really works. Installation works.
>
> Maby it's not nessesary to put this line in every php file? maby only in
> those 'heavier' ? like ext manager? everything else works fine for now.
>
>
> Uzytkownik "Philipp Groszmann" <philister at feldwaldwiese.de> napisal w
> wiadomosci
> news:mailman.788.1124879985.10149.typo3-english at lists.netfielders.de...
>
>>Am 24.08.2005 um 11:54 wrote Pawel Stanislawczuk:
>>
>>
>>>directly in php file? I'm really not good in php so I'll ask You in
>>>which
>>>php file :)
>>
>>yes, just at the beginning of the file
>>maybe these links help:
>>http://de2.php.net/manual/en/function.ini-set.php
>>http://de2.php.net/manual/en/configuration.changes.php
>>
>>
>>>Every php typo3 file?
>>
>>that's the problem of this solution, it should work fine for the FE as
>>all pages come via index.php where you could set it
>>
>>as far as I understood your're still in the installation phase. so you
>>have to set the value in the install script (can't remember which one it
>>was) but the value is set only for the script where you set it and it's
>>includings!
>>
>>cheers
>>Philipp
>
>
>
More information about the TYPO3-english
mailing list