Need more PHP memory

Discussion in 'Installation/Configuration' started by spuppy, Mar 3, 2008.

  1. spuppy

    spuppy New Member

    I am trying to run a PHP script, but it does not work. I checked the error log and found this pertinent line:

    Allowed memory size of 16777216 bytes exhausted (tried to allocate 3061262 bytes)

    How can I increase the limit for this site?

    Thanks!
     
  2. Hans

    Hans Moderator Moderator

    Increase the value within your php.ini file for Apache2 by modifying the line into:

    memory_limit = 64M
     
  3. spuppy

    spuppy New Member

    Thanks! ..................
     
  4. PermaNoob

    PermaNoob Member

    Thanks, that solved a php memory shortage problem I was having with a cms I was installing.
     

Share This Page