Open GoogleCodeExporter opened 8 years ago
I cannot replicate this on my dev machine for any reasonable sized (<10MB)
image. If I used a huge 200MB+ image and set the max memory per PHP thread to a
low value like 256MB it would probably crash the thread or time out. Just set
your max upload size to something reasonable ...perhaps 3MB... and you should
be fine.
If you're going to be running an image hosting site, you'll really need to
become familiar with how all of PHP's various settings work. Especially "Max
Memory", "Max Execution Time", and "Safe Mode".
Original comment by CarlRoett@gmail.com
on 2 Oct 2010 at 2:34
I run just 2 sites on my server, Wordpress and Osdate. None off them overloaded
it, ever. I have a 2GHz CPU and 2Gb DDR, plenty of space. About PHP, the max
upload limit is 5Mb, the "big" files I was trying to upload were below 1Mb (the
one defined as small was 15Kb); there's a memory limit of 64Mb which should be
enough, I think, for any decent script; also, a 90" execution time limit and a
20 maximum files uploads allow simultaniously. The server is not running in
safe mode.
I really don't see what's wrong with my server, however I apreciate your
advices and look further for more, if you have other ideas, but I do think
maybe the script is trying to push something that's restricted, just like
Wordpress does in the example above (ini_set...).
Server is running Centos 5, by the way, and the PHP is 5.1.6, I was wrong
above, sorry.
Thanks again!
Original comment by watta...@gmail.com
on 5 Oct 2010 at 3:25
Original issue reported on code.google.com by
danielfl...@gmail.com
on 2 Oct 2010 at 4:51