Reputation: 166156
We have an old PHP application that we're porting to PHP 7. We would like to move away from the memcache extension, and start using the memcached extension.
However -- we have a lot of legacy code written against the memcache APIs and memcached extension is not a drop in replacement.
Is there any known science for dealing with this? A shim library between the two? Auto conversation tools? Something we're not thinking of?
Upvotes: 0
Views: 125
Reputation: 1613
Here is a shim/polyfill library for this problem...
https://github.com/mhawker/memcacheshim
It contains guidance and warnings - but looks like a great option if you are trying to get legacy systems ported without a significant cache layer re-write.
Upvotes: 1