سؤال

Does anyone know why the unlink function would be working with a file under 1mb but fails with one above 1mb? Is there a setting in the php.ini I need to change?

Cheers

هل كانت مفيدة؟

المحلول

Solved. Was not the unlink function in the end was the memory_limit in php.ini having an effect on the imagecreatefromjpeg function. Limit increased and problem solved.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top