Problem installing install.PHP for Moodle 2.2.3

Asked By 0 points N/A Posted on -
qa-featured

 

Hello. I was running install.php for Moodle 2.2.3. After I enter the database info, I get a fatal error.

The message is:

Out of memory (allocated 8912896) (tried to allocate 88634 bytes) in /homepages/38/d260013955/htdocs/onlineschoolbus/moodle/lib/outputlib.php on line 626

I am using Linux OS and MySQL 5 and Apache 5.4.3 . I would be much grateful if you could help me.

SHARE
Answered By 0 points N/A #161122

Problem installing install.PHP for Moodle 2.2.3

qa-featured

Hello power_puff, The message you are getting is stating the php memory limit value is not enough and does not support the php script . You can increase your php memory limit. To do so you there are 2 methods of doing so:

  1. On a host installation you can add this to your .htaccess file (or 1 can be created in the moodle's directory if you have not created one yet) php_value memory_limit <value>M Example: php_value memory_limit 40M
     
  2. ( if you have your own server with shell access you can edit your php.ini file)to ensure you have the correct one check in your phpinfo output) memory_limit <value>M Example: memory_limit 40M. Note you will have to restart your web server for changes to take place. You can always disable the memory_limit by using your memory_limit 0 command.

Related Questions