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

Pawel Stanislawczuk ps at todesign.pl
Wed Aug 24 11:21:36 CEST 2005


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?


Hi,

Am 24.08.2005 um 09:57 schrieb Pawe³ Stanis³awczuk:

> I have problems with running typo3 on my host. I can't change it  manualy, 
> so
> the company where my hosting is told me to use ini_set() to change the
> 'memory_limit'
> How to do that? i've been to www.php.net saw the function, but i  don't 
> know
> where to use it!
> could somebody help me with this?

you can set the value in a .htaccess file like that

<IfModule mod_php4.c>
   php_value memory_limit 25M
</IfModule>

cheers
Philipp 





More information about the TYPO3-english mailing list