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

Philipp Groszmann philister at feldwaldwiese.de
Wed Aug 24 11:50:58 CEST 2005


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