php快速查看扩展的版本信息

命令为:

php --ri 扩展名。

例如:

php --ri memcached

结果如下:

php --ri memcached


memcached


memcached support => enabled

Version => 2.2.0

libmemcached version => 1.0.18

SASL support => no

Session support => yes

igbinary support => yes

json support => no

msgpack support => no


Directive => Local Value => Master Value

memcached.sess_locking => 1 => 1

memcached.sess_consistent_hash => no value => no value

memcached.sess_binary => no value => no value

memcached.sess_lock_wait => 150000 => 150000

memcached.sess_lock_max_wait => 0 => 0

memcached.sess_lock_expire => 0 => 0

memcached.sess_prefix => memc.sess.key. => memc.sess.key.

memcached.sess_number_of_replicas => 0 => 0

memcached.sess_randomize_replica_read => no value => no value

memcached.sess_remove_failed => 1 => 1

memcached.sess_connect_timeout => 1000 => 1000

memcached.compression_type => fastlz => fastlz

memcached.compression_factor => 1.3 => 1.3

memcached.compression_threshold => 2000 => 2000

memcached.serializer => igbinary => igbinary

memcached.store_retry_count => 2 => 2

你可能感兴趣的:(php,php高级)