UPLOAD_ERR_EXTENSION (# 8) in PHP?

I am completely stuck with this. Whenever I upload a large file larger than 8 MB (approximately), I get this error code in the $ _FILES array ... I looked at the downloaded extensions, but that didn’t help ... The maximum file upload is 50 M and the maximum The message is 55 M.

Has anyone else had this problem before and know an extension that might cause it?

edit . I just noticed that this is actually caused by an attempt to download binary files (the a.out file of 5 KB does not load). How can I resolve this? What extension blocks the download of binary files?

+3
source share
1 answer

, ... . /etc/php 5/conf.d/suhosin.ini , :

suhosin.upload.max_uploads = 10
suhosin.upload.disallow_elf = off
suhosin.upload.disallow_binary = off
suhosin.upload.remove_binary = off
+1

Source: https://habr.com/ru/post/1765476/


All Articles