One of my client asked me to solve a small bug in one of my php application. I am not a php guru but I am a dirty hacker :) anyway the problem was exceeding memory limit. in shared hosting it was limited with 8M from php.ini
I made a small research but could not find any document about it in ISP's page. and asked to my uncle google. he could not find any copy paste code there too :) and at last of course for the php I have to check php.net and its documentation little bit reading here is the line which saves the day:
ini_set('memory_limit','128M');
it was working very fine in 8mb then it will work for a long time in 128m :) thats enough for that.
Subscribe to:
Post Comments (Atom)
odd string diff
https://leetcode.com/problems/odd-string-difference/ Beats 19.92% of users with Java class Solution { public String oddString ( S...
-
bu durum sessionun uzun ömürlü olmasını istediğinizde yapacağınız bişeydir ki Session["eblek"]="gobalak"; dediğimizde ve...
-
at the end of any product there will be a reporting interfaces for counts. let say you build a advertisement site which gives people to publ...
-
in java web application you can easily set 400 and 500 error pages via web.xml like this <error-page> <error-code>50...
No comments:
Post a Comment