crop image problem with PHP5.2.4

See all posts Reply

crop image problem with PHP5.2.4 new!
by manish sharma, 16 years, 9 months ago
hi,
when i crop image more then 1MB size with class.upload.php

then $handle->process(./test/);

above script line is not executed and my image is not crop.

but when i use PHP4.4.7 then script working fine.

can anyone tell me whats the problem with PHP5.2.4.

Please help me as soon as ....

thanks in advance.Reply
Re: crop image problem with PHP5.2.4 new!
by colin, 16 years, 9 months ago
Your PHP5 installation probably has less memory available than your PHP4 installation.

See this post for instanceReply
Re: crop image problem with PHP5.2.4 new!
by manish sharma, 16 years, 9 months ago
yes i am check the memory limit.
in php4 i have the setting 32 m of memory limit
but in php5 i have only 8m. and when i want to increase in php.ini then he gives me error.

so what can i do.?Reply
Re: crop image problem with PHP5.2.4 new!
by colin, 16 years, 9 months ago
This is a server issue, not a class issue. You have to increase the memory with your PHP5 installation. 8m is very small nowadays.

If it is on shared hosting, contact your system administrator or hosting company to ask them to raise the limit for you.Reply