[PHP] Memory_Limit adjustments

2011-01-06 Thread Rick Dwyer
Hello all. I am using a form combined with PHP to upload files to a website directory. Worked fine until I tried to upload a file 1.7 mb in size. My php code isn't the bottleneck as I scan the file first and reject the upload request if it exceed 4096KB. So I looked at the php.ini file

Re: [PHP] Memory_Limit adjustments

2011-01-06 Thread David Harkness
The memory limit only blocks PHP from allocating more than that amount of memory for a single process (i.e. client request). Given that you're barely scratching the surface of your 2GB of memory, if you don't expect too many 17MB file uploads to happen at the same time from different users, you