Re: Problems Uploading a File
- From: NN <NoName@xxxxxxxx>
- Date: Wed, 12 Nov 2008 08:50:52 -0600
On Wed, 12 Nov 2008 06:25:45 +0100, "J.O. Aho" <user@xxxxxxxxxxx>
wrote:
NN wrote:
I have a script that uploads a JPG and then resizes it. it works fine
with files up to abouot 1.6M, but when i try a file that is about 4M i
get the following error message:
Fatal error: Out of memory (allocated 33292288) (tried to allocate
15552 bytes) in path-to/includes/file-upload-resize.inc.php on line 83
looking at the php.ini of my hosting service i gatherer the following:
memory_limit 40M 40M
You need to increase the amount allowed memory used,
memory_limit = 128M
thank you for your advice.
unfortunately, my server doesn't allow an increase in memory since
it's a shared server.
i'll have to limit the uploads to about 2MB.
thank you again,
NN
.
- Follow-Ups:
- Re: Problems Uploading a File
- From: J.O. Aho
- Re: Problems Uploading a File
- References:
- Problems Uploading a File
- From: NN
- Re: Problems Uploading a File
- From: J.O. Aho
- Problems Uploading a File
- Prev by Date: Re: Array Help Needed
- Next by Date: Re: Problems Uploading a File
- Previous by thread: Re: Problems Uploading a File
- Next by thread: Re: Problems Uploading a File
- Index(es):
Relevant Pages
|