简体   繁体   中英

PHP 5.4 APC/Session upload progress under php-fpm

I am running nginx with php5-fpm, I've installed APC and tried to use it and also tried session upload progress since my php 5.4.16 allows it. But I don't get any progress returning cached data (looks like it waits until php ends processing it). Does apc even work under php5-fpm? How to make this work uder fast-cgi?

Thanks in advance.

First of all yes it does work under php5-fpm, I have a website on my laptop with which uses nginx and php-fpm and it worked fine, but to make sure you can check the phpinfo() .

Could you please explain the cycle of the data, how you set it and how it gets read ?, and just in case, apc data that's saved by php-cli can't be accessed by the web, and also the one that's set by a web page can't be accessed by cli.

As reading forums I've found, that APC on nginx works, just it will not buffer the download progress.

So the solution would be to use Nginx upload progress module.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM