After few days, since I asked this question: LINK I realized, that maybe it's another problem.
I used package inotifywait
to check, is a temporary file generating after sending html form. Unfortunately temp file is not creating, after clicking "upload" button in my form, but I don't know why, because even I had turned off firewall (I thought that it is a problem - I was wrong). Maybe someone has this same problem?
OS is newly installed, so I didn't change so much in httpd.conf
and php.ini
.
Below is a list 'What I checked?':
enctype='multipart/form-data'
is set,/tmp/
is aupload_tmp_dir
,file_uploads
is on,- File size is in limit, which is set into
upload_max_filesize
(limit is 2MB, but file have 18KB), - I tried to use aboslute path,
/tmp/
and/var/www/html/upload
have chmod set on 777 andupload
owner and owner group is apache,- I tried change
upload_tmp_dir
inphp.ini
, but it bring this same result.