Getting started building a mysqlnd plugin
Introduction
Vendor Specific Database Extensions
PHP Manual
Mysqlnd query result cache plugin
Introduction
Installing/Configuring
Requirements
Installation
Runtime Configuration
Predefined Constants
Examples
Basic usage
Setting the TTL
Cache by default
Procedural user-defined storage handler
mysqlnd_qc Functions
mysqlnd_qc_change_handler
— Change current storage handler
mysqlnd_qc_clear_cache
— Flush all cache contents
mysqlnd_qc_get_cache_info
— Returns information on the current handler, the number of cache entries and cache entries, if available
mysqlnd_qc_get_core_stats
— Statistics collected by the core of the query cache
mysqlnd_qc_get_handler
— Returns a list of available storage handler
mysqlnd_qc_get_query_trace_log
— Returns a backtrace for each query inspected by the query cache
mysqlnd_qc_set_user_handlers
— Sets the callback functions for a user-defined procedural storage handler
Getting started building a mysqlnd plugin
Introduction
Vendor Specific Database Extensions
PHP Manual