Upload Progress Through APC

Events happening in the community are now at Drupal community events on www.drupal.org.
R-H's picture

Drupal is also telling me that APC is capable of displaying upload progress, but it's not enable.

I added apc.rfc1867 = 1 at the end of the following files, but that didn't seem to fix the problem:

./etc/php5/apache2/php.ini
./etc/php5/cli/php.ini

Is it possible to enable Upload Progress through APC?

DRUPAL STATUS REPORT MESSAGE

Upload Progress Not enabled

Your server is capable of displaying file upload progress through APC, but it is not enabled. Add to your php.ini configuration. Alternatively, it is recommended to use PECL uploadprogress, which supports more than one simultaneous upload.

Comments

I have Drupal 7.2 installed on RHEL6 x86_64

grifs71's picture

I have installed the package: php-pecl-apc-3.1.3p1-1.2.el6.1.x86_64

I have added the following to my /etc/php.ini

I have tried apc.rfc1876 = On
I have tried apc.rfc1876 = 1

as well with no success

Upload progress Not enabled
Your server is capable of displaying file upload progress through APC, but it is not enabled. Add apc.rfc1867 = 1 to your php.ini configuration. Alternatively, it is recommended to use PECL uploadprogress, which supports more than one simultaneous upload.

Can someone assist with what or how to resolve this, any help would be great.

Thank you

Did you resolve this?

Danro's picture

I am asking because I am experiencing the same thing. After getting the
"Add apc.rfc1867 = 1 to your php.ini configuration" message I edited the /etc/php.ini file to include "apc.rfc1867c= 1" under the ";file uploads;" section.
No results, same message being displayed. My system is Centos 6.2 x86_64, Drupal 7.2.
Thanks.

Danro's picture

I had looked in to this a few moths ago and found no solution. Just now I did a quick search and found the following site.

http://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html

My system now displays the following:
Upload progress Enabled (APC RFC1867)
Your server is capable of displaying file upload progress using APC RFC1867. Note that only one upload at a time is supported. It is recommended to use the PECL uploadprogress library if possible.

My OS and Drupal version: Centos 6.2 x86_64, Drupal 7.12.

Hope this helps.

Amazon Web Services (S3, EC2)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: