Many of us use APC for the file upload progress meter in Drupal. Recently, APC expanded what is contained in their apc.ini file rendering the following error message displayed in the Drupal status report rather useless.
“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.”
You can add apc.rfc1867 = 1 in your php.ini file, reload Apache, but alas the error message still appears. Somewhere between APC version 3.1.9 and 3.1.3p1 the APC configuration file got much more robust. To find out what version you are running simply run from the command line $php -i | less and then search for apc using /apc.
Anyhow, the fix is really simple.
Navigate to /etc/php.d/apc.ini and go to line 54. Change that line from 0 to 1. You end up with:
apc.rfc1867 = 1
Save the file and reload apache. Voila, no more error. These paths and commands work on Red Hat Enterprise Linux 6 (RHEL6).
2 thoughts on “Drupal APC changes in version 3.1.3p1 for file upload progress.”
I don’t have any experience w/ jguaarpc, sorry. As for the command line stuff. Thats kinda what you get yourself into when you for a vps. If you wanted to spend a lot of money you could get a truely managed vps where the hosting company will do much of the work for you, but this will cost you.Usually if you stick with ubuntu, you will find crazy numbers of tutorials all over the web to help you. I would use ubuntu 9.04 or 9.10. Probably not 10.04 b/c of php 5.3
You’re the best! Take care.