Jump to content

Very Odd file upload problem


0ALf0

Recommended Posts

I have a LAMP VPS that is running a file upload script. Even when uploading very small files, the script failes and returnes the following warning:

"Warning: fopen(/tmp/phpvRfHjG) [function.fopen]: failed to open stream: Value too large for defined data type in"

 

I get exactly the same message when using move_uploaded_file()...

 

I´ve spent hours searching for others with similiar problems on the net without success. As far as I understand, the warning usually occurs when people are dealing with very large files, which is not the case for me.

 

Any ideas of what might be the reason? Any settings in php.ini or apache that might help?

 

The server is running PHP5 and Apache2. The settings are mostly the defaults, with a few exceptions due to sercurity.

 

Thanks for help!

Link to comment
https://forums.phpfreaks.com/topic/41133-very-odd-file-upload-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.