< Browse > Home / Php / Blog article: Empty page is getting displayed on live

| Mobile | RSS

Empty page is getting displayed on live

July 14th, 2009 | No Comments | Posted in Php
prakash.matte

Sometimes we might be getting empty page (or half of the content) on live as we were showing images/content that has more size which cannot be handled by the server due to memory size limitation. In that case we cannot change the memory limit from apache files. The best solution is changing the memory limit by adding the below line.

ini_set(’memory_limit’, ‘32M’);

Here M signifies the size in MB. 32MB size is enough to display the content in most of the cases. If it does not satisfies, increase in less number as server cannot allocate much memory as we specified and it leads to slow in processing.

Leave a Reply 123 views, 1 so far today |
  • No Related Post

Leave a Reply

You must be logged in to post a comment.