我已经制作了一个基于Flex + PHP的应用程序,其中具有将图片上传到服务器的功能。如果在Windows上运行,该应用程序可以上传图片。但是在Ubuntu上,文件根本没有上传。可能是与权限相关的问题吗?

这是上传文件时维护的日志:

Uploading 5408_1243356204478_1246540615_30751024_3730562_n.jpg...
File opened
File upload in progress (349 of 31340)
File upload in progress (349 of 31340)
File upload in progress (31340 of 31340)
File upload in progress (31340 of 31340)
File upload in progress (31340 of 31340)
File upload in progress (31340 of 31340)
File upload in progress (31340 of 31340)
File upload in progress (31340 of 31340)
File upload in progress (31340 of 31340)
File upload in progress (31340 of 31340)
HTTP error occured -
HTTP IO error occured -



我的应用程序的路径:/var/www/bin-release
/var/www/bin-release/ * 的权限

所有者,组= baltusaj,www-data
文件,目录= 777,777

我还将baltusaj添加到/etc/group中的www-data组中

HTTP I/O错误仍然存​​在,困扰着我。 :(

最佳答案

我建议从客户端运行Wireshark来捕获网络流量,因为文件已被上传。这样可以有效地了解两次安装之间服务器实际在做什么。

http://www.wireshark.org/

关于php - 上载文件功能在Ubuntu中不起作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5190256/

10-11 13:47