Topic: Centos 5.5, PHP 5.3.3, APC 3.1.5 and upload progress

I upgraded to PHP 5.3.3 and PHP-PECL-APC to 3.1.5 and the upload progress is now broken.

APC is working normally but doesn't catch file upload anymore.

Any ideas on how to fix this ?

Re: Centos 5.5, PHP 5.3.3, APC 3.1.5 and upload progress

gavroche wrote:

I upgraded to PHP 5.3.3 and PHP-PECL-APC to 3.1.5 and the upload progress is now broken.

From which version ?

I will have a look.

+

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Centos 5.5, PHP 5.3.3, APC 3.1.5 and upload progress

Is apc.rfc1867 enable in you apc.ini ?

+

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

4 (edited by gavroche 2010-11-18 15:50:54)

Re: Centos 5.5, PHP 5.3.3, APC 3.1.5 and upload progress

Yes it is enabled.
I had PHP 5.3.3 and APC 3.1.3.
I downgraded to PHP 5.2.14 and APC 3.0.9 and it's working fine again.
Should I report a bug to PECL?

Re: Centos 5.5, PHP 5.3.3, APC 3.1.5 and upload progress

Should I report a bug to PECL?

Probably.

And post here the bug link.

+

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Centos 5.5, PHP 5.3.3, APC 3.1.5 and upload progress

I tried on a different server with the same result. Tried APC 3.1.4 also and it works just fine.

Here is the link to the bug report :
http://pecl.php.net/bugs/bug.php?id=20016

Re: Centos 5.5, PHP 5.3.3, APC 3.1.5 and upload progress

Can you please try php-pecl-apc-3.1.6 ?

For me, with a minimal test script, upload progress works fine again.

+

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test