运行时配置

这些函数的行为受 php.ini 中的设置影响。

Mysqlnd_memcache 配置选项
名字 默认 可修改范围 更新日志
mysqlnd_memcache.enable 1 PHP_INI_SYSTEM Available since 1.0.0

这是配置指令的简短说明。

mysqlnd_memcache.enable int

Enables or disables the plugin. If disabled, the extension will not plug into mysqlnd to proxy internal mysqlnd C API calls.

注意:

This option is mainly used by developers to build this extension statically into PHP. General users are encouraged to build this extension as a shared object, and to unload it completely when it is not needed.