refactored php plugin to use new cache api
Merge pull request #138 from prymitive/php_new_cache

fixed php plugin to use new cache api