I have Ubuntu Server with lamp.
When i uploading files like xls or images it works fine, but when I trying to open it says me that the Excel file was broken. Same thing happens with images
Is it possible that php changes the file?
Permissions for /var/www/publick_html/uploads is 777
The problem was in versions of apache and php. Version of apache was 2.2 and php was 5.4 I upgraded my apache to 2.4 version and now it works fine.