"Remove symlink creation. Let each path have own file"http://drupal.org/node/174380

yes ,i knew the solution maybe hide in that page,but i think it was for 5.X , and i actually don't know hou to do in drupal6.6. could anybody so kind to help me .

i want to know if my config is right or not and is there a better config suggesting

my enviroment is :
windows2003+PHP5.25+APC+mysql+drupal6.6+CCK+VIEWS+OG+cacherouter-beta6
and my apc config in php.ini is ( i don't know if my config in php.ini is correct or not ?)

[apc]
extension=php_apc.dll
apc.enabled=1
apc.shm_segments=1
apc.shm_size=64
apc.max_file_size = 10M
apc.num_files_hint=1024
apc.ttl=7200
apc.user_ttl=7200

drupal/sites/default/settings.php

$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
'default' => array(
'engine' => 'apc',

),
);

the following is the things that i thought my config is wrong

but my apc.php shows the following information:

apc.cache_by_default 1
apc.coredump_unmap 0
apc.enable_cli 0
apc.enabled 1
apc.file_update_protection 2
apc.filters
apc.gc_ttl 3600
apc.include_once_override 0
apc.localcache 0
apc.localcache.size 512
apc.max_file_size 10M
apc.num_files_hint 1024
apc.report_autofilter 0
apc.rfc1867 0
apc.rfc1867_freq 0
apc.rfc1867_name APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_
apc.shm_segments 1
apc.shm_size 64
apc.slam_defense 0
apc.stat 1
apc.stat_ctime 0
apc.ttl 7200
apc.user_entries_hint 4096
apc.user_ttl 7200
apc.write_lock 1

it seems that i have something error-config but i can't tell

the first time i open "localhost/apc.php" , it shows:

File Cache Information
Cached Files 1 (350.5 KBytes)
Hits 1
Misses 1
Request Rate (hits, misses) 0.01 cache requests/second
Hit Rate 0.00 cache requests/second
Miss Rate 0.00 cache requests/second
Insert Rate 0.00 cache requests/second
Cache full count 0
User Cache Information
Cached Variables 0 ( 0.0 Bytes)
Hits 0
Misses 0
Request Rate (hits, misses) 0.00 cache requests/second
Hit Rate 0.00 cache requests/second
Miss Rate 0.00 cache requests/second
Insert Rate 0.00 cache requests/second
Cache full count 0

then i try "localhost/drupal/admin",the apc.php page show the following

File Cache Information
Cached Files 188 ( 18.7 MBytes)
Hits 5
Misses 188
Request Rate (hits, misses) 0.28 cache requests/second
Hit Rate 0.01 cache requests/second
Miss Rate 0.27 cache requests/second
Insert Rate 0.27 cache requests/second
Cache full count 0
User Cache Information
Cached Variables 17 (714.4 KBytes)
Hits 9
Misses 0
Request Rate (hits, misses) 0.01 cache requests/second
Hit Rate 0.01 cache requests/second
Miss Rate 0.00 cache requests/second
Insert Rate 0.06 cache requests/second
Cache full count 0

Comments

dinis’s picture

Do you have the directive for the file path in your php.ini file?

Something like:

uploadprogress.file.filename_template=/tmp/upt_%s.txt

Kind regards,
Danielle