https://www.icyphoenix.com/viewtopic.php?f=4&t=2682&p=19049#p19049
-----------------------------------
buldo
Tue 28 Aug, 2007 09:09

Re: Modify Php Settings With .htaccess File
-----------------------------------
[quote user="novice programmer" post="18932"]If you recive a error like this:

[code linenumbers=false]
Allowed memory size of (number1) bytes exausted when tried to allocate (number2) bytes on (file)
[/code]

And "number1" is smaller than "number2", that´s because icy don´t has been configured for a smaller Php allowed memory usage, that is cofigurated in most servers. For solving that:

OPEN [b]"board_root"/.htaccess[/b]
FIND
[codeblock]#php_value memory_limit 32M[/codeblock]
REPLACE WITH
[codeblock]php_value memory_limit 32M[/codeblock]

Important: the 32 can be any other number, but it has to be a multiple of 8.
[/quote]

A simple test (actual limit is 12M, I tried 32MB) on my host has returned this error (500):

[quote]Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.[/quote]

Is there any other setting to modify?  :roll:


