แก้ไขที่ pnp.ini คับ
As a result you might see errors like this:
Fatal error: Allowed memory size/> of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /var/www/html/moodle/mod/workshop/lib.php on line 2354
We are taking steps to reduce some of the recent increases in memory requirements before the release of Moodle 1.2, but in the meantime, the easiest workaround to keep full functionality is to increase the allowed memory limit/>.
- If you have access to your main php.ini file, then find the line that looks like this:
memory_limit = 8M;
and change it to:
memory_limit = 16M;
then restart Apache.
- Otherwise, you may be able to change this value just for your site by creating or editing a .htaccess file in your main Moodle directory to contain this line:
php_value memory_limit "16M"