Skip to content

Increase PHP memory limit

Increase PHP memory limit

Answer:

If you experienced error such as "Fatal error: Allowed memory size of 16777216 bytes exhausted ", you would need to increase the memory limit of your PHP, by editing the php.ini

vi /etc/php.ini

Locate and set

memory_limit = 32M ;

Try it with the number you need.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. How to limit query results scrolling off the screen
  2. How to check current memory usage?
  3. How do I check memory information in Linux?
  4. Display physical memory size in Linux
  5. Increase the maximum number of open files / file descriptors

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*