[PHP] how to solve Exhaust Memory

It's easy. only one thing you need to do is adding


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


to the top of your code. Done! This is for people who does not have your own host; perhaps hosting at somewhere like godaddy.com, as mine. The normal way to do is you have to edit php.ini which belong to server root folder or where else, i'm really not sure to push up the max memory limit of their server.


By doing this you dont' need to do anythis else.


Goodluck.




Technorati : ,

Del.icio.us : ,

Zooomr : ,

Flickr : ,

0 Comments:

Post a Comment



 
Serenity Blogger Template