Pure PHP Upload 2 Support Product Page
Can I increase allowed memory size for uploading a file?
Asked 13 Mar 2013 22:30:07
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?
Replied 14 Mar 2013 08:36:41
14 Mar 2013 08:36:41 Vulcho Vulev replied:
Can you check the php.ini file on your server about any size restriction limits?
The property responsible for the upload size is:
Replied 14 Mar 2013 20:23:53
14 Mar 2013 20:23:53 Phil Boyle replied:
Thanks for that. I have a feeling you've told me this before.
Replied 15 Mar 2013 08:07:10
15 Mar 2013 08:07:10 Vulcho Vulev replied:
Does the problem disappeared when you increased the memory_limit on your server?
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:
Reply to this topic