9

I'm evaluating a migration to pdo on some hosts (VPS) but it seems to come at a price of more memory required.

Q: in php.ini, there's a setting:

pdo_mysql.cache_size = 2000

I can't find much information about it, it refers to mysql-slots, whats the purpose and maths behind? After all, the mysqld has a cache of it's own - why should pdo have one too?

regards,

//t

the_drow
  • 18,571
  • 25
  • 126
  • 193
Teson
  • 6,644
  • 8
  • 46
  • 69

2 Answers2

15

This setting and feature were removed (see related diff) due to a bug.

aaz
  • 5,136
  • 22
  • 18
0

I´m not sure where you are getting that information from, but according to the List of php.ini directives there is no such directive as pdo_mysql.cache_size.

jeroen
  • 91,079
  • 21
  • 114
  • 132