[TYPO3-english] Big memory issue. Limit = 128M
Neil Haskins
nhaskins at gmail.com
Thu Feb 5 21:28:31 CET 2009
It seems that my site throws an error if I put any line of PHP
configuration into my .htaccess. It's funny because when I asked my host
about my memory issues, they said to add
<IfConfig mod_php5.c>
php_value max_memory_limit = 128M
</IfConfig>
to my .htaccess, which of course throws an error. I googled it and
figured it should probably be
<IfModule mod_php5.c>
php_value memory_limit = 128M
</IfModule>
That didn't throw an error, but I think that's only because it returns
as false, nothing inside does anything.
I think I'll need to bring this one up with my host:/
Thanks.
(Amazing ideas still accepted)
Neil Haskins wrote:
> I get error code 500 "Internal Server Error" when I paste that into my
> .htaccess.
> Andreas Becker wrote:
>> Hi Neil
>> try adding to your .htaccess if you can'rt edit php.ini other wise do the
>> changings there
>>
>> ### Begin: PHP optimisation ### php_flag register_globals off php_flag
>> register_argc_argv off php_flag magic_quotes_gpc off php_flag
>> open_basedir
>> off php_value variables_order GPCS php_value upload_max_filesize 50M
>> php_value post_max_size 50M php_value memory_limit 128M php_value
>> max_execution_time 300 php_value max_input_time 600 ### End: PHP
>> optimisation ###
>>
>> Andi
More information about the TYPO3-english
mailing list