PHP会话上传进度和fcgid [英] PHP Session Upload Progress and fcgid

查看:139
本文介绍了PHP会话上传进度和fcgid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的Apache2.2 / mod_fcgid / php5.4.3和上传进度不会在会议上露面。我读到如果PHP通过FastCGI的加载的PHP会话上传进度功能将无法正常工作。真的吗?如果是这样,什么是使用FastCGI时获得上传进度的选项?

I'm using Apache2.2/mod_fcgid/php5.4.3 and the upload progress does not show up in the session. I read that the php session upload progress feature will not work if php is loaded via fastcgi. Is that true? If so, what are the options for getting upload progress when using fastcgi?

推荐答案

[ mod_fcgi]发送到应用程序之前读取来自客户端的整个请求主体

您应该尝试使用的Nginx和PHP-FPM,这对加速文件上传,其中由Nginx的收到完整申请之前,你的PHP code可以运行。

You should try using Nginx and PHP-FPM, which has support for "Accelerated File Upload", where your PHP code can run before the complete request is received by Nginx.

这篇关于PHP会话上传进度和fcgid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆