Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Session Upload Progress and fcgid

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?

like image 457
PaulS Avatar asked Nov 04 '22 19:11

PaulS


1 Answers

"[mod_fcgi] reads the entire request body from the client before sending it to the application."

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.

like image 164
PAStheLoD Avatar answered Nov 12 '22 17:11

PAStheLoD