Apache/PHP can't write to /tmp dir.
Hello,
I've made an upload script so people can post their photo on my site but i'm currently facing a problem. The script displays no error and return the name of the tmp file but the file has not been written. /tmp is empty of php generated files. :/ php.ini Upload config : Code:
; Whether to allow HTTP file uploads. Code:
drwxrwxrwt 15 root root 4096 2004-08-14 13:57 tmp Apache is not chrooted and runs as www-data. So for sure I get an error when trying to create an image from the tmp file. ... |
*shrug* make sure full logging is turned on. tail -f all the log files, not just error.log or whatever. Maybe change /tmp/ to just /tmp
|
any answer
Hey what happened with this, I have the same problem basically I set my upload_tmp_dir = /tmp/uploads with apache as owner
I look in the directory during large file uploads and see nothing. Let me know if you have any ideas |
All times are GMT -5. The time now is 04:14 PM. |