首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > the proxy-cache for PHP and MySQL

the proxy-cache for PHP and MySQL

  • 资源大小:36.00 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

the php-dbcache is a PHP extension written in C for caching SQL queries. It is PHP extension for mysql and using as proxy. The result of the SQL Query caching on the file system. The cache filename is md5 from SQL text. So, there is a two-level hierarchy of directories for more faster access. The php-dbcache module using mysqli connection. You can not use the caching, for INSERT or UPDATE operators. You can get part data from cache by fetchFrame() method Installation ``` 1. cd dbcache 2. phpize 3. ./configure 4. make && make install 5. If compile error, copy all *h (header files) from php/ext/mysqli to /usr/local/includes/php/ext/mysqli cd /tmp or /var # some directory for cache data mkdir cache; # create directory chown wwwrun; # the owner is user when run PHP chmod +r cache; # add permission to write ``` ### Limitations ### * Don"t use BLOB field * The mysqli module mu

文 件 列 表

config.m4
dbcache.c
php_dbcache.h
sample1.php
sample2.php
VIP VIP
0.180181s