Archive

Archive for February, 2009

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4800 bytes)

February 9th, 2009

When I first encountered this error, I thought something wrong with my apache-php integration. Thank God it’s not the one I thought.

This PHP Fatal error message will be encountered if your PHP script memory requirements exceed the default 8MB limit. Somehow, you can overcome this by doing two methods.

1. Set Resource Limits in /etc/php.ini

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 45 ; Maximum execution time of each script
max_input_time = 60 ; Maximum amount may spend parsing request data
memory_limit = 12M ; Maximum amount of memory a script may consume (8MB)

2. Initiate a function to set the Resources Limit

ini_set("memory_limit","12M");

Why so serious?!? that’s it… your done! :)

Camilo III Administration, Info.Tech, Web Development , , , , , , ,

Best WYD08 Photo Competition (Entries)

February 9th, 2009

This competition was conducted by XT3 or http://www.xt3.com. The ‘best’ photos will be collated in an album and sent as a present to Pope Benedict.

And one of my photo won.. :) The Candle Lighting during the vigil (last night of WYD08).

Camilo III Photo Gallery , , , ,

DBP RORO Race 2008 Pictures

February 8th, 2009

Here’s my pictures with the RORO Racers 2008…

Thanks to Rupert Tandoc and Williamson Nocom for their great pictures. :)

Camilo III Photo Gallery , , ,