Pure PHP Upload 2 Support Product Page

Answered

Can I increase allowed memory size for uploading a file?

Asked 13 Mar 2013 22:30:07
1
has this question
13 Mar 2013 22:30:07 Phil Boyle posted:
Photos are getting larger and client's just want to upload the original photo without doing any resizing. One is getting this error message.

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17152 bytes) in C:\HostingSpaces\SS\sweetstreet.co.nz\wwwroot\ScriptLibrary\lib\cImageEditor.php on line 399

Can I change this limit?

Thanks

Replies

Replied 14 Mar 2013 08:36:41
14 Mar 2013 08:36:41 Vulcho Vulev replied:
Hello Phil.

Can you check the php.ini file on your server about any size restriction limits?

The property responsible for the upload size is:
memory_limit =

Regards:Vulcho.
Replied 14 Mar 2013 20:23:53
14 Mar 2013 20:23:53 Phil Boyle replied:
Hi Vulcho
Thanks for that. I have a feeling you've told me this before.
Phil
Replied 15 Mar 2013 08:07:10
15 Mar 2013 08:07:10 Vulcho Vulev replied:
Hello Phil.

Does the problem disappeared when you increased the memory_limit on your server?

Regards:Vulcho.
Replied 17 Mar 2013 22:43:11
17 Mar 2013 22:43:11 Phil Boyle replied:
I haven't tried it yet. I'm only going to do it if the client wants it done. As I don't have access and have to ask my hosting company.
Replied 18 Mar 2013 16:33:55
18 Mar 2013 16:33:55 Teodor Kuduschiev replied:
Hello Phil,

We have an article explaining the values required to be changed:
www.dmxzone.com/go/4531/limitations-that-pure-php-upload-can-t-handle/

Reply to this topic