Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7072

UPLOAD_ERR_CANT_WRITE But other files are getting uploaded

$
0
0

I am facing a quite weird behavior in my server.

I can upload any files smaller than 1MB without problem, but those that are bigger return me an error UPLOAD_ERR_CANT_WRITE == 7.

The tmp/ folder has permissions since I can upload other files.

The config on my PHP.INI seems to be fine, I did upload files larger than 1MB using phpmyadmin before and it worked.

PHP.INI

  • file_uploads On
  • post_max_size 200M
  • max_execution_time 30
  • memory_limit 128M
  • max_file_uploads 20
  • upload_max_filesize 200M
  • upload_tmp_dir /tmp

There's something I am missing? at my local machine works perfectly same config :S

I use ubuntu server 13.04 PHP 5.4.9 and Apache 2.2.22

Sure is the most stupid thing ever and I wasted 2 hours in this, I already have checked loads of docs at php.net but no luck. Any help is more than welcome.

Thanks!!!

UPDATE 10-01-2014: Still no luck I could not fix it.


Viewing all articles
Browse latest Browse all 7072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>