luca
luca

Reputation: 37146

Apc extension not working on php 5.3.3

opcode caching talk.I have WAMP server 2.1 running PHP 5.3.3.I'm using apache benchmark to test the improvement APC adds when applied to my php scripts.

ab -n 10 -c 5 http://localhost/mysite/index/index/

I installed APC 3.1.6 for PHP 5.3 vc6 with the following settings in php.ini:

extension= c:\wamp\bin\php\php5.3.3\ext\php_apc_316_php53_vc6.dll
apc.enabled=1
apc.stat=0
apc.optimization=9
apc.shm_size=30
apc.max_file_size=2

this is what I get:

enter image description here

I need to comment out the extension line to have this test run properly Why?

here my phpinfo() Apc settings

thanks

Luca

Upvotes: 1

Views: 1907

Answers (1)

hakre
hakre

Reputation: 198209

Try apc.max_file_size = 2M. Otherwise max filesize would be 2 bytes.

Upvotes: 1

Related Questions