[Typo3] changing the 'memory_limit' to 16 with ini_set()

Pawel Stanislawczuk ps at todesign.pl
Wed Aug 24 11:54:43 CEST 2005


directly in php file? I'm really not good in php so I'll ask You in which 
php file :)
Every php typo3 file?



Uzytkownik "Philipp Groszmann" <philister at feldwaldwiese.de> napisal w 
wiadomosci 
news:mailman.756.1124877154.10149.typo3-english at lists.netfielders.de...
> you're using PHP4?!
> as you would have to change the value in <IfModule mod_php4.c> if you  not 
> so
>
> maybe you're not allowed to set the value - in .htaccess -(and you  where 
> misinformed by your hoster)
> you may try to set the valu directly in the php-file with
> ini_set(memory_limit, '25M');
>
> or PHP (version 4) is not compiled with '--enable-memory-limit'
> or ...
>
> cheers
> Philipp
>
> Am 24.08.2005 um 11:21 wrote Pawel Stanislawczuk:
>
>> nothing changed, still I've got
>>
>> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
>> allocate 49 bytes) in ........typo/typo3/t3lib/ class.t3lib_install.php 
>> on
>> line 601
>>
>> my .htaccess file looks now like this:
>>
>> # -FrontPage-
>>
>> IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
>>
>> <Limit GET POST>
>> order deny,allow
>> deny from all
>> allow from all
>> </Limit>
>> <Limit PUT DELETE>
>> order deny,allow
>> deny from all
>> </Limit>
>> <IfModule mod_php4.c>
>> php_value memory_limit 25M
>> </IfModule>
>> AuthName www.mydomain.pl
>> AuthUserFile /home/mydomain/public_html/_vti_pvt/service.pwd
>> AuthGroupFile /home/mydomain/public_html/_vti_pvt/service.grp
>>
>> what I'm doing wrong?
> 





More information about the TYPO3-english mailing list