Hello.
When trying to upload files: rar, pdf, exe - PHP returns error 7 UPLOAD_ERR_CANT_WRITE. At the same time txt, ppt, gif and others loads normally.
The problem occurs on the internal server under Ubuntu 14.04 + apache2, php 5.6
With a normal hoster :) everything works great.
Obviously there is a gap in knowledge and configuration of apache / php, but for now I do not see a solution to the problem. Colleagues, if there is an understanding which way to dig, please send.
Thank.
For example, the script is generally elementary:
index.php
<form action="upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="filename" class="form-control"> <button type="submit">Отправить</button> </form> upload.php
print_r($_FILES);
mod_securitytype - teran