Still the old (odd) error

Still the old (odd) error

by Janne Nurmi -
Number of replies: 2

I'm receiving the following error:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) in /usr/moodle/mod/survey/lib.php on line 62

What is strange about that is that I have memory_limit = 24M; in php.ini and  have tested it with phpinfo();

It's not just the survey-module, it also happens in other modules too.

My system is:
Suse SLE8
Apache 1.3.26
PHP 4.2.2
MySQL 3.23

Any suggestions how to proceed.

Average of ratings: -
In reply to Janne Nurmi

Re: Still the old (odd) error

by Timothy Takemoto -
DearJanne Nurmi,
How about a .htaccess in the moodle folder, with
php_value memory_limit "16M"
in it?
Since you have already done the deed in your php.ini, this is probably not going to work but perhaps it is some apache-php communication problem?
He says not knowing what he is talking about. But the above did work for me.
Tim
In reply to Janne Nurmi

Vast: Still the old (odd) error

by Janne Nurmi -

I forgot to mention, that this error comes when installing Moodle 1.4 after the page where is asked the name of the site etc.

Installing of 1.3.4 worked fine after increasing the memory_limit.